MCPcopy Index your code
hub / github.com/anomalyco/models.dev / llmGatewayModel

Function llmGatewayModel

packages/core/test/sync.test.ts:294–316  ·  view source on GitHub ↗
(overrides: Partial<LLMGatewayModel> = {})

Source from the content-addressed store, hash-verified

292}
293
294function llmGatewayModel(overrides: Partial<LLMGatewayModel> = {}): LLMGatewayModel {
295 return {
296 id: "claude-fable-5",
297 name: "Claude Fable 5",
298 created: 1_780_963_200,
299 family: "anthropic",
300 architecture: {
301 input_modalities: ["text", "image"],
302 output_modalities: ["text"],
303 },
304 pricing: {
305 prompt: "10.0e-6",
306 completion: "50.0e-6",
307 input_cache_read: "1.0e-6",
308 input_cache_write: "12.5e-6",
309 internal_reasoning: "0",
310 },
311 context_length: 1_000_000,
312 supported_parameters: ["temperature", "max_tokens", "top_p", "effort", "reasoning"],
313 structured_outputs: true,
314 ...overrides,
315 };
316}
317
318function openRouterModel(overrides: Partial<OpenRouterModel> = {}): OpenRouterModel {
319 return {

Callers 1

sync.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected