database.ts 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. import type { Provider } from "./provider"
  2. export const PROVIDER_DATABASE: Provider.Info[] = [
  3. {
  4. id: "anthropic",
  5. name: "Anthropic",
  6. models: [
  7. {
  8. id: "claude-sonnet-4-20250514",
  9. name: "Claude Sonnet 4",
  10. cost: {
  11. input: 3.0 / 1_000_000,
  12. output: 15.0 / 1_000_000,
  13. inputCached: 3.75 / 1_000_000,
  14. outputCached: 0.3 / 1_000_000,
  15. },
  16. contextWindow: 200_000,
  17. maxOutputTokens: 50_000,
  18. reasoning: true,
  19. attachment: true,
  20. },
  21. {
  22. id: "claude-opus-4-20250514",
  23. name: "Claude Opus 4",
  24. cost: {
  25. input: 15.0 / 1_000_000,
  26. output: 75.0 / 1_000_000,
  27. inputCached: 18.75 / 1_000_000,
  28. outputCached: 1.5 / 1_000_000,
  29. },
  30. contextWindow: 200_000,
  31. maxOutputTokens: 32_000,
  32. reasoning: true,
  33. attachment: true,
  34. },
  35. ],
  36. },
  37. {
  38. id: "openai",
  39. name: "OpenAI",
  40. models: [
  41. {
  42. id: "codex-mini-latest",
  43. name: "Codex Mini",
  44. cost: {
  45. input: 1.5 / 1_000_000,
  46. inputCached: 0.375 / 1_000_000,
  47. output: 6.0 / 1_000_000,
  48. outputCached: 0.0 / 1_000_000,
  49. },
  50. contextWindow: 200_000,
  51. maxOutputTokens: 100_000,
  52. attachment: true,
  53. reasoning: true,
  54. },
  55. ],
  56. },
  57. {
  58. id: "google",
  59. name: "Google",
  60. models: [
  61. {
  62. id: "gemini-2.5-pro-preview-03-25",
  63. name: "Gemini 2.5 Pro",
  64. cost: {
  65. input: 1.25 / 1_000_000,
  66. inputCached: 0 / 1_000_000,
  67. output: 10 / 1_000_000,
  68. outputCached: 0 / 1_000_000,
  69. },
  70. contextWindow: 1_000_000,
  71. maxOutputTokens: 50_000,
  72. attachment: true,
  73. },
  74. ],
  75. },
  76. ]