MCPcopy Create free account
hub / github.com/github/gh-aw / TestFindModelPricing

Function TestFindModelPricing

pkg/cli/model_costs_test.go:12–16  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

10)
11
12func TestFindModelPricing(t *testing.T) {
13 pricing, ok := findModelPricing("anthropic", "claude-sonnet-4.6")
14 require.True(t, ok)
15 assert.InDelta(t, 0.000003, pricing["input"], 1e-12)
16}
17
18func TestComputeModelInferenceAIC(t *testing.T) {
19 aic := computeModelInferenceAIC("anthropic", "claude-sonnet-4.6", 1000, 200, 400, 50, 25)

Callers

nothing calls this directly

Calls 1

findModelPricingFunction · 0.70

Tested by

no test coverage detected