| 292 | } |
| 293 | |
| 294 | function 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 | |
| 318 | function openRouterModel(overrides: Partial<OpenRouterModel> = {}): OpenRouterModel { |
| 319 | return { |