@funkai/models 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.generated/entries.json +23 -0
- package/.generated/req.txt +1 -0
- package/.turbo/turbo-build.log +145 -0
- package/.turbo/turbo-typecheck.log +4 -0
- package/CHANGELOG.md +23 -0
- package/README.md +95 -0
- package/dist/alibaba-B6q4Ng1R.mjs +957 -0
- package/dist/alibaba-B6q4Ng1R.mjs.map +1 -0
- package/dist/amazon-bedrock-Cv9AHQBH.mjs +2070 -0
- package/dist/amazon-bedrock-Cv9AHQBH.mjs.map +1 -0
- package/dist/anthropic-yB7ST97_.mjs +651 -0
- package/dist/anthropic-yB7ST97_.mjs.map +1 -0
- package/dist/cerebras-COfl7XM-.mjs +95 -0
- package/dist/cerebras-COfl7XM-.mjs.map +1 -0
- package/dist/cohere-B7TgO0hT.mjs +271 -0
- package/dist/cohere-B7TgO0hT.mjs.map +1 -0
- package/dist/deepinfra-B0GxUwCG.mjs +636 -0
- package/dist/deepinfra-B0GxUwCG.mjs.map +1 -0
- package/dist/deepseek-D64ZEsvS.mjs +50 -0
- package/dist/deepseek-D64ZEsvS.mjs.map +1 -0
- package/dist/fireworks-ai-DJYvdAi_.mjs +304 -0
- package/dist/fireworks-ai-DJYvdAi_.mjs.map +1 -0
- package/dist/google-BypRl349.mjs +833 -0
- package/dist/google-BypRl349.mjs.map +1 -0
- package/dist/google-vertex-DbS-zTGD.mjs +730 -0
- package/dist/google-vertex-DbS-zTGD.mjs.map +1 -0
- package/dist/groq-ei_PerYi.mjs +381 -0
- package/dist/groq-ei_PerYi.mjs.map +1 -0
- package/dist/huggingface-DaM1EeLP.mjs +456 -0
- package/dist/huggingface-DaM1EeLP.mjs.map +1 -0
- package/dist/inception-CspEzqNV.mjs +101 -0
- package/dist/inception-CspEzqNV.mjs.map +1 -0
- package/dist/index.d.mts +30314 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +271 -0
- package/dist/index.mjs.map +1 -0
- package/dist/llama-Cf3-koap.mjs +161 -0
- package/dist/llama-Cf3-koap.mjs.map +1 -0
- package/dist/mistral-BI9MdAO4.mjs +579 -0
- package/dist/mistral-BI9MdAO4.mjs.map +1 -0
- package/dist/nvidia-COHacuoa.mjs +1625 -0
- package/dist/nvidia-COHacuoa.mjs.map +1 -0
- package/dist/openai-C0nCfZUq.mjs +1023 -0
- package/dist/openai-C0nCfZUq.mjs.map +1 -0
- package/dist/openrouter-DSFzxKQb.mjs +4608 -0
- package/dist/openrouter-DSFzxKQb.mjs.map +1 -0
- package/dist/perplexity-zeZ2WlBU.mjs +96 -0
- package/dist/perplexity-zeZ2WlBU.mjs.map +1 -0
- package/dist/providers/alibaba.d.mts +1795 -0
- package/dist/providers/alibaba.d.mts.map +1 -0
- package/dist/providers/alibaba.mjs +39 -0
- package/dist/providers/alibaba.mjs.map +1 -0
- package/dist/providers/amazon-bedrock.d.mts +3713 -0
- package/dist/providers/amazon-bedrock.d.mts.map +1 -0
- package/dist/providers/amazon-bedrock.mjs +39 -0
- package/dist/providers/amazon-bedrock.mjs.map +1 -0
- package/dist/providers/anthropic.d.mts +1109 -0
- package/dist/providers/anthropic.d.mts.map +1 -0
- package/dist/providers/anthropic.mjs +39 -0
- package/dist/providers/anthropic.mjs.map +1 -0
- package/dist/providers/cerebras.d.mts +219 -0
- package/dist/providers/cerebras.d.mts.map +1 -0
- package/dist/providers/cerebras.mjs +39 -0
- package/dist/providers/cerebras.mjs.map +1 -0
- package/dist/providers/cohere.d.mts +555 -0
- package/dist/providers/cohere.d.mts.map +1 -0
- package/dist/providers/cohere.mjs +39 -0
- package/dist/providers/cohere.mjs.map +1 -0
- package/dist/providers/deepinfra.d.mts +1245 -0
- package/dist/providers/deepinfra.d.mts.map +1 -0
- package/dist/providers/deepinfra.mjs +39 -0
- package/dist/providers/deepinfra.mjs.map +1 -0
- package/dist/providers/deepseek.d.mts +139 -0
- package/dist/providers/deepseek.d.mts.map +1 -0
- package/dist/providers/deepseek.mjs +39 -0
- package/dist/providers/deepseek.mjs.map +1 -0
- package/dist/providers/fireworks-ai.d.mts +611 -0
- package/dist/providers/fireworks-ai.d.mts.map +1 -0
- package/dist/providers/fireworks-ai.mjs +39 -0
- package/dist/providers/fireworks-ai.mjs.map +1 -0
- package/dist/providers/google-vertex.d.mts +1227 -0
- package/dist/providers/google-vertex.d.mts.map +1 -0
- package/dist/providers/google-vertex.mjs +39 -0
- package/dist/providers/google-vertex.mjs.map +1 -0
- package/dist/providers/google.d.mts +1359 -0
- package/dist/providers/google.d.mts.map +1 -0
- package/dist/providers/google.mjs +39 -0
- package/dist/providers/google.mjs.map +1 -0
- package/dist/providers/groq.d.mts +765 -0
- package/dist/providers/groq.d.mts.map +1 -0
- package/dist/providers/groq.mjs +39 -0
- package/dist/providers/groq.mjs.map +1 -0
- package/dist/providers/huggingface.d.mts +901 -0
- package/dist/providers/huggingface.d.mts.map +1 -0
- package/dist/providers/huggingface.mjs +39 -0
- package/dist/providers/huggingface.mjs.map +1 -0
- package/dist/providers/inception.d.mts +231 -0
- package/dist/providers/inception.d.mts.map +1 -0
- package/dist/providers/inception.mjs +39 -0
- package/dist/providers/inception.mjs.map +1 -0
- package/dist/providers/llama.d.mts +345 -0
- package/dist/providers/llama.d.mts.map +1 -0
- package/dist/providers/llama.mjs +39 -0
- package/dist/providers/llama.mjs.map +1 -0
- package/dist/providers/mistral.d.mts +1143 -0
- package/dist/providers/mistral.d.mts.map +1 -0
- package/dist/providers/mistral.mjs +39 -0
- package/dist/providers/mistral.mjs.map +1 -0
- package/dist/providers/nvidia.d.mts +3117 -0
- package/dist/providers/nvidia.d.mts.map +1 -0
- package/dist/providers/nvidia.mjs +39 -0
- package/dist/providers/nvidia.mjs.map +1 -0
- package/dist/providers/openai.d.mts +1963 -0
- package/dist/providers/openai.d.mts.map +1 -0
- package/dist/providers/openai.mjs +39 -0
- package/dist/providers/openai.mjs.map +1 -0
- package/dist/providers/openrouter.d.mts +8531 -0
- package/dist/providers/openrouter.d.mts.map +1 -0
- package/dist/providers/openrouter.mjs +39 -0
- package/dist/providers/openrouter.mjs.map +1 -0
- package/dist/providers/perplexity.d.mts +221 -0
- package/dist/providers/perplexity.d.mts.map +1 -0
- package/dist/providers/perplexity.mjs +39 -0
- package/dist/providers/perplexity.mjs.map +1 -0
- package/dist/providers/togetherai.d.mts +767 -0
- package/dist/providers/togetherai.d.mts.map +1 -0
- package/dist/providers/togetherai.mjs +39 -0
- package/dist/providers/togetherai.mjs.map +1 -0
- package/dist/providers/xai.d.mts +1161 -0
- package/dist/providers/xai.d.mts.map +1 -0
- package/dist/providers/xai.mjs +39 -0
- package/dist/providers/xai.mjs.map +1 -0
- package/dist/togetherai-BvcxUfPE.mjs +382 -0
- package/dist/togetherai-BvcxUfPE.mjs.map +1 -0
- package/dist/types-DjdaZckF.d.mts +71 -0
- package/dist/types-DjdaZckF.d.mts.map +1 -0
- package/dist/xai-fSuAkQJo.mjs +587 -0
- package/dist/xai-fSuAkQJo.mjs.map +1 -0
- package/docs/catalog/filtering.md +102 -0
- package/docs/catalog/overview.md +168 -0
- package/docs/catalog/providers.md +73 -0
- package/docs/cost/overview.md +125 -0
- package/docs/guides/filter-models.md +113 -0
- package/docs/guides/setup-resolver.md +106 -0
- package/docs/guides/track-costs.md +133 -0
- package/docs/overview.md +139 -0
- package/docs/provider/configuration.md +100 -0
- package/docs/provider/openrouter.md +105 -0
- package/docs/provider/overview.md +131 -0
- package/docs/troubleshooting.md +100 -0
- package/package.json +142 -0
- package/providers.json +39 -0
- package/scripts/generate-models.ts +392 -0
- package/src/catalog/index.test.ts +124 -0
- package/src/catalog/index.ts +65 -0
- package/src/catalog/providers/alibaba.ts +468 -0
- package/src/catalog/providers/amazon-bedrock.ts +941 -0
- package/src/catalog/providers/anthropic.ts +270 -0
- package/src/catalog/providers/cerebras.ts +61 -0
- package/src/catalog/providers/cohere.ts +149 -0
- package/src/catalog/providers/deepinfra.ts +325 -0
- package/src/catalog/providers/deepseek.ts +39 -0
- package/src/catalog/providers/fireworks-ai.ts +160 -0
- package/src/catalog/providers/google-vertex.ts +314 -0
- package/src/catalog/providers/google.ts +347 -0
- package/src/catalog/providers/groq.ts +204 -0
- package/src/catalog/providers/huggingface.ts +237 -0
- package/src/catalog/providers/inception.ts +61 -0
- package/src/catalog/providers/index.ts +59 -0
- package/src/catalog/providers/llama.ts +94 -0
- package/src/catalog/providers/mistral.ts +303 -0
- package/src/catalog/providers/nvidia.ts +820 -0
- package/src/catalog/providers/openai.ts +501 -0
- package/src/catalog/providers/openrouter.ts +2201 -0
- package/src/catalog/providers/perplexity.ts +61 -0
- package/src/catalog/providers/togetherai.ts +204 -0
- package/src/catalog/providers/xai.ts +292 -0
- package/src/catalog/types.ts +86 -0
- package/src/cost/calculate.test.ts +157 -0
- package/src/cost/calculate.ts +43 -0
- package/src/cost/index.ts +2 -0
- package/src/cost/types.ts +25 -0
- package/src/index.ts +25 -0
- package/src/provider/index.ts +9 -0
- package/src/provider/openrouter.test.ts +125 -0
- package/src/provider/openrouter.ts +110 -0
- package/src/provider/resolver.test.ts +138 -0
- package/src/provider/resolver.ts +125 -0
- package/src/provider/types.ts +39 -0
- package/src/providers/alibaba.ts +65 -0
- package/src/providers/amazon-bedrock.ts +67 -0
- package/src/providers/anthropic.ts +65 -0
- package/src/providers/cerebras.ts +65 -0
- package/src/providers/cohere.ts +65 -0
- package/src/providers/deepinfra.ts +65 -0
- package/src/providers/deepseek.ts +65 -0
- package/src/providers/fireworks-ai.ts +65 -0
- package/src/providers/google-vertex.ts +67 -0
- package/src/providers/google.ts +65 -0
- package/src/providers/groq.ts +65 -0
- package/src/providers/huggingface.ts +67 -0
- package/src/providers/inception.ts +65 -0
- package/src/providers/llama.ts +65 -0
- package/src/providers/mistral.ts +65 -0
- package/src/providers/nvidia.ts +65 -0
- package/src/providers/openai.ts +65 -0
- package/src/providers/openrouter.ts +67 -0
- package/src/providers/perplexity.ts +67 -0
- package/src/providers/togetherai.ts +65 -0
- package/src/providers/xai.ts +65 -0
- package/tsconfig.json +25 -0
- package/tsdown.config.ts +23 -0
- package/vitest.config.ts +29 -0
|
@@ -0,0 +1,1359 @@
|
|
|
1
|
+
import { n as ModelDefinition } from "../types-DjdaZckF.mjs";
|
|
2
|
+
import { LiteralUnion } from "type-fest";
|
|
3
|
+
|
|
4
|
+
//#region src/catalog/providers/google.d.ts
|
|
5
|
+
declare const GOOGLE_MODELS: readonly [{
|
|
6
|
+
readonly id: "gemini-embedding-001";
|
|
7
|
+
readonly name: "Gemini Embedding 001";
|
|
8
|
+
readonly provider: "google";
|
|
9
|
+
readonly family: "gemini";
|
|
10
|
+
readonly pricing: {
|
|
11
|
+
readonly input: 1.5e-7;
|
|
12
|
+
readonly output: 0;
|
|
13
|
+
};
|
|
14
|
+
readonly contextWindow: 2048;
|
|
15
|
+
readonly maxOutput: 3072;
|
|
16
|
+
readonly modalities: {
|
|
17
|
+
readonly input: readonly ["text"];
|
|
18
|
+
readonly output: readonly ["text"];
|
|
19
|
+
};
|
|
20
|
+
readonly capabilities: {
|
|
21
|
+
readonly reasoning: false;
|
|
22
|
+
readonly toolCall: false;
|
|
23
|
+
readonly attachment: false;
|
|
24
|
+
readonly structuredOutput: false;
|
|
25
|
+
};
|
|
26
|
+
}, {
|
|
27
|
+
readonly id: "gemini-2.5-flash-lite-preview-09-2025";
|
|
28
|
+
readonly name: "Gemini 2.5 Flash Lite Preview 09-25";
|
|
29
|
+
readonly provider: "google";
|
|
30
|
+
readonly family: "gemini-flash-lite";
|
|
31
|
+
readonly pricing: {
|
|
32
|
+
readonly input: 1e-7;
|
|
33
|
+
readonly output: 4e-7;
|
|
34
|
+
readonly cacheRead: 2.5e-8;
|
|
35
|
+
};
|
|
36
|
+
readonly contextWindow: 1048576;
|
|
37
|
+
readonly maxOutput: 65536;
|
|
38
|
+
readonly modalities: {
|
|
39
|
+
readonly input: readonly ["text", "image", "audio", "video", "pdf"];
|
|
40
|
+
readonly output: readonly ["text"];
|
|
41
|
+
};
|
|
42
|
+
readonly capabilities: {
|
|
43
|
+
readonly reasoning: true;
|
|
44
|
+
readonly toolCall: true;
|
|
45
|
+
readonly attachment: true;
|
|
46
|
+
readonly structuredOutput: true;
|
|
47
|
+
};
|
|
48
|
+
}, {
|
|
49
|
+
readonly id: "gemini-3.1-pro-preview-customtools";
|
|
50
|
+
readonly name: "Gemini 3.1 Pro Preview Custom Tools";
|
|
51
|
+
readonly provider: "google";
|
|
52
|
+
readonly family: "gemini-pro";
|
|
53
|
+
readonly pricing: {
|
|
54
|
+
readonly input: 0.000002;
|
|
55
|
+
readonly output: 0.000012;
|
|
56
|
+
readonly cacheRead: 2e-7;
|
|
57
|
+
};
|
|
58
|
+
readonly contextWindow: 1048576;
|
|
59
|
+
readonly maxOutput: 65536;
|
|
60
|
+
readonly modalities: {
|
|
61
|
+
readonly input: readonly ["text", "image", "video", "audio", "pdf"];
|
|
62
|
+
readonly output: readonly ["text"];
|
|
63
|
+
};
|
|
64
|
+
readonly capabilities: {
|
|
65
|
+
readonly reasoning: true;
|
|
66
|
+
readonly toolCall: true;
|
|
67
|
+
readonly attachment: true;
|
|
68
|
+
readonly structuredOutput: true;
|
|
69
|
+
};
|
|
70
|
+
}, {
|
|
71
|
+
readonly id: "gemini-2.5-pro-preview-06-05";
|
|
72
|
+
readonly name: "Gemini 2.5 Pro Preview 06-05";
|
|
73
|
+
readonly provider: "google";
|
|
74
|
+
readonly family: "gemini-pro";
|
|
75
|
+
readonly pricing: {
|
|
76
|
+
readonly input: 0.00000125;
|
|
77
|
+
readonly output: 0.00001;
|
|
78
|
+
readonly cacheRead: 3.1e-7;
|
|
79
|
+
};
|
|
80
|
+
readonly contextWindow: 1048576;
|
|
81
|
+
readonly maxOutput: 65536;
|
|
82
|
+
readonly modalities: {
|
|
83
|
+
readonly input: readonly ["text", "image", "audio", "video", "pdf"];
|
|
84
|
+
readonly output: readonly ["text"];
|
|
85
|
+
};
|
|
86
|
+
readonly capabilities: {
|
|
87
|
+
readonly reasoning: true;
|
|
88
|
+
readonly toolCall: true;
|
|
89
|
+
readonly attachment: true;
|
|
90
|
+
readonly structuredOutput: true;
|
|
91
|
+
};
|
|
92
|
+
}, {
|
|
93
|
+
readonly id: "gemini-2.5-flash-preview-04-17";
|
|
94
|
+
readonly name: "Gemini 2.5 Flash Preview 04-17";
|
|
95
|
+
readonly provider: "google";
|
|
96
|
+
readonly family: "gemini-flash";
|
|
97
|
+
readonly pricing: {
|
|
98
|
+
readonly input: 1.5e-7;
|
|
99
|
+
readonly output: 6e-7;
|
|
100
|
+
readonly cacheRead: 3.75e-8;
|
|
101
|
+
};
|
|
102
|
+
readonly contextWindow: 1048576;
|
|
103
|
+
readonly maxOutput: 65536;
|
|
104
|
+
readonly modalities: {
|
|
105
|
+
readonly input: readonly ["text", "image", "audio", "video", "pdf"];
|
|
106
|
+
readonly output: readonly ["text"];
|
|
107
|
+
};
|
|
108
|
+
readonly capabilities: {
|
|
109
|
+
readonly reasoning: true;
|
|
110
|
+
readonly toolCall: true;
|
|
111
|
+
readonly attachment: true;
|
|
112
|
+
readonly structuredOutput: false;
|
|
113
|
+
};
|
|
114
|
+
}, {
|
|
115
|
+
readonly id: "gemini-2.5-flash-preview-09-2025";
|
|
116
|
+
readonly name: "Gemini 2.5 Flash Preview 09-25";
|
|
117
|
+
readonly provider: "google";
|
|
118
|
+
readonly family: "gemini-flash";
|
|
119
|
+
readonly pricing: {
|
|
120
|
+
readonly input: 3e-7;
|
|
121
|
+
readonly output: 0.0000025;
|
|
122
|
+
readonly cacheRead: 7.5e-8;
|
|
123
|
+
};
|
|
124
|
+
readonly contextWindow: 1048576;
|
|
125
|
+
readonly maxOutput: 65536;
|
|
126
|
+
readonly modalities: {
|
|
127
|
+
readonly input: readonly ["text", "image", "audio", "video", "pdf"];
|
|
128
|
+
readonly output: readonly ["text"];
|
|
129
|
+
};
|
|
130
|
+
readonly capabilities: {
|
|
131
|
+
readonly reasoning: true;
|
|
132
|
+
readonly toolCall: true;
|
|
133
|
+
readonly attachment: true;
|
|
134
|
+
readonly structuredOutput: true;
|
|
135
|
+
};
|
|
136
|
+
}, {
|
|
137
|
+
readonly id: "gemini-2.5-pro-preview-05-06";
|
|
138
|
+
readonly name: "Gemini 2.5 Pro Preview 05-06";
|
|
139
|
+
readonly provider: "google";
|
|
140
|
+
readonly family: "gemini-pro";
|
|
141
|
+
readonly pricing: {
|
|
142
|
+
readonly input: 0.00000125;
|
|
143
|
+
readonly output: 0.00001;
|
|
144
|
+
readonly cacheRead: 3.1e-7;
|
|
145
|
+
};
|
|
146
|
+
readonly contextWindow: 1048576;
|
|
147
|
+
readonly maxOutput: 65536;
|
|
148
|
+
readonly modalities: {
|
|
149
|
+
readonly input: readonly ["text", "image", "audio", "video", "pdf"];
|
|
150
|
+
readonly output: readonly ["text"];
|
|
151
|
+
};
|
|
152
|
+
readonly capabilities: {
|
|
153
|
+
readonly reasoning: true;
|
|
154
|
+
readonly toolCall: true;
|
|
155
|
+
readonly attachment: true;
|
|
156
|
+
readonly structuredOutput: true;
|
|
157
|
+
};
|
|
158
|
+
}, {
|
|
159
|
+
readonly id: "gemini-2.5-flash-preview-05-20";
|
|
160
|
+
readonly name: "Gemini 2.5 Flash Preview 05-20";
|
|
161
|
+
readonly provider: "google";
|
|
162
|
+
readonly family: "gemini-flash";
|
|
163
|
+
readonly pricing: {
|
|
164
|
+
readonly input: 1.5e-7;
|
|
165
|
+
readonly output: 6e-7;
|
|
166
|
+
readonly cacheRead: 3.75e-8;
|
|
167
|
+
};
|
|
168
|
+
readonly contextWindow: 1048576;
|
|
169
|
+
readonly maxOutput: 65536;
|
|
170
|
+
readonly modalities: {
|
|
171
|
+
readonly input: readonly ["text", "image", "audio", "video", "pdf"];
|
|
172
|
+
readonly output: readonly ["text"];
|
|
173
|
+
};
|
|
174
|
+
readonly capabilities: {
|
|
175
|
+
readonly reasoning: true;
|
|
176
|
+
readonly toolCall: true;
|
|
177
|
+
readonly attachment: true;
|
|
178
|
+
readonly structuredOutput: true;
|
|
179
|
+
};
|
|
180
|
+
}, {
|
|
181
|
+
readonly id: "gemini-2.5-flash";
|
|
182
|
+
readonly name: "Gemini 2.5 Flash";
|
|
183
|
+
readonly provider: "google";
|
|
184
|
+
readonly family: "gemini-flash";
|
|
185
|
+
readonly pricing: {
|
|
186
|
+
readonly input: 3e-7;
|
|
187
|
+
readonly output: 0.0000025;
|
|
188
|
+
readonly cacheRead: 7.5e-8;
|
|
189
|
+
};
|
|
190
|
+
readonly contextWindow: 1048576;
|
|
191
|
+
readonly maxOutput: 65536;
|
|
192
|
+
readonly modalities: {
|
|
193
|
+
readonly input: readonly ["text", "image", "audio", "video", "pdf"];
|
|
194
|
+
readonly output: readonly ["text"];
|
|
195
|
+
};
|
|
196
|
+
readonly capabilities: {
|
|
197
|
+
readonly reasoning: true;
|
|
198
|
+
readonly toolCall: true;
|
|
199
|
+
readonly attachment: true;
|
|
200
|
+
readonly structuredOutput: true;
|
|
201
|
+
};
|
|
202
|
+
}, {
|
|
203
|
+
readonly id: "gemini-3.1-flash-image-preview";
|
|
204
|
+
readonly name: "Gemini 3.1 Flash Image (Preview)";
|
|
205
|
+
readonly provider: "google";
|
|
206
|
+
readonly family: "gemini-flash";
|
|
207
|
+
readonly pricing: {
|
|
208
|
+
readonly input: 2.5e-7;
|
|
209
|
+
readonly output: 0.00006;
|
|
210
|
+
};
|
|
211
|
+
readonly contextWindow: 131072;
|
|
212
|
+
readonly maxOutput: 32768;
|
|
213
|
+
readonly modalities: {
|
|
214
|
+
readonly input: readonly ["text", "image", "pdf"];
|
|
215
|
+
readonly output: readonly ["text", "image"];
|
|
216
|
+
};
|
|
217
|
+
readonly capabilities: {
|
|
218
|
+
readonly reasoning: true;
|
|
219
|
+
readonly toolCall: false;
|
|
220
|
+
readonly attachment: true;
|
|
221
|
+
readonly structuredOutput: false;
|
|
222
|
+
};
|
|
223
|
+
}, {
|
|
224
|
+
readonly id: "gemini-3.1-flash-lite-preview";
|
|
225
|
+
readonly name: "Gemini 3.1 Flash Lite Preview";
|
|
226
|
+
readonly provider: "google";
|
|
227
|
+
readonly family: "gemini-flash-lite";
|
|
228
|
+
readonly pricing: {
|
|
229
|
+
readonly input: 2.5e-7;
|
|
230
|
+
readonly output: 0.0000015;
|
|
231
|
+
readonly cacheRead: 2.5e-8;
|
|
232
|
+
readonly cacheWrite: 0.000001;
|
|
233
|
+
};
|
|
234
|
+
readonly contextWindow: 1048576;
|
|
235
|
+
readonly maxOutput: 65536;
|
|
236
|
+
readonly modalities: {
|
|
237
|
+
readonly input: readonly ["text", "image", "video", "audio", "pdf"];
|
|
238
|
+
readonly output: readonly ["text"];
|
|
239
|
+
};
|
|
240
|
+
readonly capabilities: {
|
|
241
|
+
readonly reasoning: true;
|
|
242
|
+
readonly toolCall: true;
|
|
243
|
+
readonly attachment: true;
|
|
244
|
+
readonly structuredOutput: true;
|
|
245
|
+
};
|
|
246
|
+
}, {
|
|
247
|
+
readonly id: "gemini-live-2.5-flash";
|
|
248
|
+
readonly name: "Gemini Live 2.5 Flash";
|
|
249
|
+
readonly provider: "google";
|
|
250
|
+
readonly family: "gemini-flash";
|
|
251
|
+
readonly pricing: {
|
|
252
|
+
readonly input: 5e-7;
|
|
253
|
+
readonly output: 0.000002;
|
|
254
|
+
};
|
|
255
|
+
readonly contextWindow: 128000;
|
|
256
|
+
readonly maxOutput: 8000;
|
|
257
|
+
readonly modalities: {
|
|
258
|
+
readonly input: readonly ["text", "image", "audio", "video"];
|
|
259
|
+
readonly output: readonly ["text", "audio"];
|
|
260
|
+
};
|
|
261
|
+
readonly capabilities: {
|
|
262
|
+
readonly reasoning: true;
|
|
263
|
+
readonly toolCall: true;
|
|
264
|
+
readonly attachment: true;
|
|
265
|
+
readonly structuredOutput: false;
|
|
266
|
+
};
|
|
267
|
+
}, {
|
|
268
|
+
readonly id: "gemini-3-flash-preview";
|
|
269
|
+
readonly name: "Gemini 3 Flash Preview";
|
|
270
|
+
readonly provider: "google";
|
|
271
|
+
readonly family: "gemini-flash";
|
|
272
|
+
readonly pricing: {
|
|
273
|
+
readonly input: 5e-7;
|
|
274
|
+
readonly output: 0.000003;
|
|
275
|
+
readonly cacheRead: 5e-8;
|
|
276
|
+
};
|
|
277
|
+
readonly contextWindow: 1048576;
|
|
278
|
+
readonly maxOutput: 65536;
|
|
279
|
+
readonly modalities: {
|
|
280
|
+
readonly input: readonly ["text", "image", "video", "audio", "pdf"];
|
|
281
|
+
readonly output: readonly ["text"];
|
|
282
|
+
};
|
|
283
|
+
readonly capabilities: {
|
|
284
|
+
readonly reasoning: true;
|
|
285
|
+
readonly toolCall: true;
|
|
286
|
+
readonly attachment: true;
|
|
287
|
+
readonly structuredOutput: true;
|
|
288
|
+
};
|
|
289
|
+
}, {
|
|
290
|
+
readonly id: "gemini-live-2.5-flash-preview-native-audio";
|
|
291
|
+
readonly name: "Gemini Live 2.5 Flash Preview Native Audio";
|
|
292
|
+
readonly provider: "google";
|
|
293
|
+
readonly family: "gemini-flash";
|
|
294
|
+
readonly pricing: {
|
|
295
|
+
readonly input: 5e-7;
|
|
296
|
+
readonly output: 0.000002;
|
|
297
|
+
};
|
|
298
|
+
readonly contextWindow: 131072;
|
|
299
|
+
readonly maxOutput: 65536;
|
|
300
|
+
readonly modalities: {
|
|
301
|
+
readonly input: readonly ["text", "audio", "video"];
|
|
302
|
+
readonly output: readonly ["text", "audio"];
|
|
303
|
+
};
|
|
304
|
+
readonly capabilities: {
|
|
305
|
+
readonly reasoning: true;
|
|
306
|
+
readonly toolCall: true;
|
|
307
|
+
readonly attachment: false;
|
|
308
|
+
readonly structuredOutput: false;
|
|
309
|
+
};
|
|
310
|
+
}, {
|
|
311
|
+
readonly id: "gemini-2.5-flash-lite";
|
|
312
|
+
readonly name: "Gemini 2.5 Flash Lite";
|
|
313
|
+
readonly provider: "google";
|
|
314
|
+
readonly family: "gemini-flash-lite";
|
|
315
|
+
readonly pricing: {
|
|
316
|
+
readonly input: 1e-7;
|
|
317
|
+
readonly output: 4e-7;
|
|
318
|
+
readonly cacheRead: 2.5e-8;
|
|
319
|
+
};
|
|
320
|
+
readonly contextWindow: 1048576;
|
|
321
|
+
readonly maxOutput: 65536;
|
|
322
|
+
readonly modalities: {
|
|
323
|
+
readonly input: readonly ["text", "image", "audio", "video", "pdf"];
|
|
324
|
+
readonly output: readonly ["text"];
|
|
325
|
+
};
|
|
326
|
+
readonly capabilities: {
|
|
327
|
+
readonly reasoning: true;
|
|
328
|
+
readonly toolCall: true;
|
|
329
|
+
readonly attachment: true;
|
|
330
|
+
readonly structuredOutput: true;
|
|
331
|
+
};
|
|
332
|
+
}, {
|
|
333
|
+
readonly id: "gemini-2.5-flash-preview-tts";
|
|
334
|
+
readonly name: "Gemini 2.5 Flash Preview TTS";
|
|
335
|
+
readonly provider: "google";
|
|
336
|
+
readonly family: "gemini-flash";
|
|
337
|
+
readonly pricing: {
|
|
338
|
+
readonly input: 5e-7;
|
|
339
|
+
readonly output: 0.00001;
|
|
340
|
+
};
|
|
341
|
+
readonly contextWindow: 8000;
|
|
342
|
+
readonly maxOutput: 16000;
|
|
343
|
+
readonly modalities: {
|
|
344
|
+
readonly input: readonly ["text"];
|
|
345
|
+
readonly output: readonly ["audio"];
|
|
346
|
+
};
|
|
347
|
+
readonly capabilities: {
|
|
348
|
+
readonly reasoning: false;
|
|
349
|
+
readonly toolCall: false;
|
|
350
|
+
readonly attachment: false;
|
|
351
|
+
readonly structuredOutput: false;
|
|
352
|
+
};
|
|
353
|
+
}, {
|
|
354
|
+
readonly id: "gemini-3.1-pro-preview";
|
|
355
|
+
readonly name: "Gemini 3.1 Pro Preview";
|
|
356
|
+
readonly provider: "google";
|
|
357
|
+
readonly family: "gemini-pro";
|
|
358
|
+
readonly pricing: {
|
|
359
|
+
readonly input: 0.000002;
|
|
360
|
+
readonly output: 0.000012;
|
|
361
|
+
readonly cacheRead: 2e-7;
|
|
362
|
+
};
|
|
363
|
+
readonly contextWindow: 1048576;
|
|
364
|
+
readonly maxOutput: 65536;
|
|
365
|
+
readonly modalities: {
|
|
366
|
+
readonly input: readonly ["text", "image", "video", "audio", "pdf"];
|
|
367
|
+
readonly output: readonly ["text"];
|
|
368
|
+
};
|
|
369
|
+
readonly capabilities: {
|
|
370
|
+
readonly reasoning: true;
|
|
371
|
+
readonly toolCall: true;
|
|
372
|
+
readonly attachment: true;
|
|
373
|
+
readonly structuredOutput: true;
|
|
374
|
+
};
|
|
375
|
+
}, {
|
|
376
|
+
readonly id: "gemini-flash-latest";
|
|
377
|
+
readonly name: "Gemini Flash Latest";
|
|
378
|
+
readonly provider: "google";
|
|
379
|
+
readonly family: "gemini-flash";
|
|
380
|
+
readonly pricing: {
|
|
381
|
+
readonly input: 3e-7;
|
|
382
|
+
readonly output: 0.0000025;
|
|
383
|
+
readonly cacheRead: 7.5e-8;
|
|
384
|
+
};
|
|
385
|
+
readonly contextWindow: 1048576;
|
|
386
|
+
readonly maxOutput: 65536;
|
|
387
|
+
readonly modalities: {
|
|
388
|
+
readonly input: readonly ["text", "image", "audio", "video", "pdf"];
|
|
389
|
+
readonly output: readonly ["text"];
|
|
390
|
+
};
|
|
391
|
+
readonly capabilities: {
|
|
392
|
+
readonly reasoning: true;
|
|
393
|
+
readonly toolCall: true;
|
|
394
|
+
readonly attachment: true;
|
|
395
|
+
readonly structuredOutput: true;
|
|
396
|
+
};
|
|
397
|
+
}, {
|
|
398
|
+
readonly id: "gemini-2.5-flash-lite-preview-06-17";
|
|
399
|
+
readonly name: "Gemini 2.5 Flash Lite Preview 06-17";
|
|
400
|
+
readonly provider: "google";
|
|
401
|
+
readonly family: "gemini-flash-lite";
|
|
402
|
+
readonly pricing: {
|
|
403
|
+
readonly input: 1e-7;
|
|
404
|
+
readonly output: 4e-7;
|
|
405
|
+
readonly cacheRead: 2.5e-8;
|
|
406
|
+
};
|
|
407
|
+
readonly contextWindow: 1048576;
|
|
408
|
+
readonly maxOutput: 65536;
|
|
409
|
+
readonly modalities: {
|
|
410
|
+
readonly input: readonly ["text", "image", "audio", "video", "pdf"];
|
|
411
|
+
readonly output: readonly ["text"];
|
|
412
|
+
};
|
|
413
|
+
readonly capabilities: {
|
|
414
|
+
readonly reasoning: true;
|
|
415
|
+
readonly toolCall: true;
|
|
416
|
+
readonly attachment: true;
|
|
417
|
+
readonly structuredOutput: false;
|
|
418
|
+
};
|
|
419
|
+
}, {
|
|
420
|
+
readonly id: "gemini-2.5-flash-image";
|
|
421
|
+
readonly name: "Gemini 2.5 Flash Image";
|
|
422
|
+
readonly provider: "google";
|
|
423
|
+
readonly family: "gemini-flash";
|
|
424
|
+
readonly pricing: {
|
|
425
|
+
readonly input: 3e-7;
|
|
426
|
+
readonly output: 0.00003;
|
|
427
|
+
readonly cacheRead: 7.5e-8;
|
|
428
|
+
};
|
|
429
|
+
readonly contextWindow: 32768;
|
|
430
|
+
readonly maxOutput: 32768;
|
|
431
|
+
readonly modalities: {
|
|
432
|
+
readonly input: readonly ["text", "image"];
|
|
433
|
+
readonly output: readonly ["text", "image"];
|
|
434
|
+
};
|
|
435
|
+
readonly capabilities: {
|
|
436
|
+
readonly reasoning: true;
|
|
437
|
+
readonly toolCall: false;
|
|
438
|
+
readonly attachment: true;
|
|
439
|
+
readonly structuredOutput: false;
|
|
440
|
+
};
|
|
441
|
+
}, {
|
|
442
|
+
readonly id: "gemini-2.5-pro-preview-tts";
|
|
443
|
+
readonly name: "Gemini 2.5 Pro Preview TTS";
|
|
444
|
+
readonly provider: "google";
|
|
445
|
+
readonly family: "gemini-flash";
|
|
446
|
+
readonly pricing: {
|
|
447
|
+
readonly input: 0.000001;
|
|
448
|
+
readonly output: 0.00002;
|
|
449
|
+
};
|
|
450
|
+
readonly contextWindow: 8000;
|
|
451
|
+
readonly maxOutput: 16000;
|
|
452
|
+
readonly modalities: {
|
|
453
|
+
readonly input: readonly ["text"];
|
|
454
|
+
readonly output: readonly ["audio"];
|
|
455
|
+
};
|
|
456
|
+
readonly capabilities: {
|
|
457
|
+
readonly reasoning: false;
|
|
458
|
+
readonly toolCall: false;
|
|
459
|
+
readonly attachment: false;
|
|
460
|
+
readonly structuredOutput: false;
|
|
461
|
+
};
|
|
462
|
+
}, {
|
|
463
|
+
readonly id: "gemini-2.5-flash-image-preview";
|
|
464
|
+
readonly name: "Gemini 2.5 Flash Image (Preview)";
|
|
465
|
+
readonly provider: "google";
|
|
466
|
+
readonly family: "gemini-flash";
|
|
467
|
+
readonly pricing: {
|
|
468
|
+
readonly input: 3e-7;
|
|
469
|
+
readonly output: 0.00003;
|
|
470
|
+
readonly cacheRead: 7.5e-8;
|
|
471
|
+
};
|
|
472
|
+
readonly contextWindow: 32768;
|
|
473
|
+
readonly maxOutput: 32768;
|
|
474
|
+
readonly modalities: {
|
|
475
|
+
readonly input: readonly ["text", "image"];
|
|
476
|
+
readonly output: readonly ["text", "image"];
|
|
477
|
+
};
|
|
478
|
+
readonly capabilities: {
|
|
479
|
+
readonly reasoning: true;
|
|
480
|
+
readonly toolCall: false;
|
|
481
|
+
readonly attachment: true;
|
|
482
|
+
readonly structuredOutput: false;
|
|
483
|
+
};
|
|
484
|
+
}, {
|
|
485
|
+
readonly id: "gemini-1.5-flash-8b";
|
|
486
|
+
readonly name: "Gemini 1.5 Flash-8B";
|
|
487
|
+
readonly provider: "google";
|
|
488
|
+
readonly family: "gemini-flash";
|
|
489
|
+
readonly pricing: {
|
|
490
|
+
readonly input: 3.75e-8;
|
|
491
|
+
readonly output: 1.5e-7;
|
|
492
|
+
readonly cacheRead: 1e-8;
|
|
493
|
+
};
|
|
494
|
+
readonly contextWindow: 1000000;
|
|
495
|
+
readonly maxOutput: 8192;
|
|
496
|
+
readonly modalities: {
|
|
497
|
+
readonly input: readonly ["text", "image", "audio", "video"];
|
|
498
|
+
readonly output: readonly ["text"];
|
|
499
|
+
};
|
|
500
|
+
readonly capabilities: {
|
|
501
|
+
readonly reasoning: false;
|
|
502
|
+
readonly toolCall: true;
|
|
503
|
+
readonly attachment: true;
|
|
504
|
+
readonly structuredOutput: false;
|
|
505
|
+
};
|
|
506
|
+
}, {
|
|
507
|
+
readonly id: "gemini-3-pro-preview";
|
|
508
|
+
readonly name: "Gemini 3 Pro Preview";
|
|
509
|
+
readonly provider: "google";
|
|
510
|
+
readonly family: "gemini-pro";
|
|
511
|
+
readonly pricing: {
|
|
512
|
+
readonly input: 0.000002;
|
|
513
|
+
readonly output: 0.000012;
|
|
514
|
+
readonly cacheRead: 2e-7;
|
|
515
|
+
};
|
|
516
|
+
readonly contextWindow: 1000000;
|
|
517
|
+
readonly maxOutput: 64000;
|
|
518
|
+
readonly modalities: {
|
|
519
|
+
readonly input: readonly ["text", "image", "video", "audio", "pdf"];
|
|
520
|
+
readonly output: readonly ["text"];
|
|
521
|
+
};
|
|
522
|
+
readonly capabilities: {
|
|
523
|
+
readonly reasoning: true;
|
|
524
|
+
readonly toolCall: true;
|
|
525
|
+
readonly attachment: true;
|
|
526
|
+
readonly structuredOutput: true;
|
|
527
|
+
};
|
|
528
|
+
}, {
|
|
529
|
+
readonly id: "gemini-2.0-flash-lite";
|
|
530
|
+
readonly name: "Gemini 2.0 Flash Lite";
|
|
531
|
+
readonly provider: "google";
|
|
532
|
+
readonly family: "gemini-flash-lite";
|
|
533
|
+
readonly pricing: {
|
|
534
|
+
readonly input: 7.5e-8;
|
|
535
|
+
readonly output: 3e-7;
|
|
536
|
+
};
|
|
537
|
+
readonly contextWindow: 1048576;
|
|
538
|
+
readonly maxOutput: 8192;
|
|
539
|
+
readonly modalities: {
|
|
540
|
+
readonly input: readonly ["text", "image", "audio", "video", "pdf"];
|
|
541
|
+
readonly output: readonly ["text"];
|
|
542
|
+
};
|
|
543
|
+
readonly capabilities: {
|
|
544
|
+
readonly reasoning: false;
|
|
545
|
+
readonly toolCall: true;
|
|
546
|
+
readonly attachment: true;
|
|
547
|
+
readonly structuredOutput: true;
|
|
548
|
+
};
|
|
549
|
+
}, {
|
|
550
|
+
readonly id: "gemini-1.5-flash";
|
|
551
|
+
readonly name: "Gemini 1.5 Flash";
|
|
552
|
+
readonly provider: "google";
|
|
553
|
+
readonly family: "gemini-flash";
|
|
554
|
+
readonly pricing: {
|
|
555
|
+
readonly input: 7.5e-8;
|
|
556
|
+
readonly output: 3e-7;
|
|
557
|
+
readonly cacheRead: 1.875e-8;
|
|
558
|
+
};
|
|
559
|
+
readonly contextWindow: 1000000;
|
|
560
|
+
readonly maxOutput: 8192;
|
|
561
|
+
readonly modalities: {
|
|
562
|
+
readonly input: readonly ["text", "image", "audio", "video"];
|
|
563
|
+
readonly output: readonly ["text"];
|
|
564
|
+
};
|
|
565
|
+
readonly capabilities: {
|
|
566
|
+
readonly reasoning: false;
|
|
567
|
+
readonly toolCall: true;
|
|
568
|
+
readonly attachment: true;
|
|
569
|
+
readonly structuredOutput: false;
|
|
570
|
+
};
|
|
571
|
+
}, {
|
|
572
|
+
readonly id: "gemini-flash-lite-latest";
|
|
573
|
+
readonly name: "Gemini Flash-Lite Latest";
|
|
574
|
+
readonly provider: "google";
|
|
575
|
+
readonly family: "gemini-flash-lite";
|
|
576
|
+
readonly pricing: {
|
|
577
|
+
readonly input: 1e-7;
|
|
578
|
+
readonly output: 4e-7;
|
|
579
|
+
readonly cacheRead: 2.5e-8;
|
|
580
|
+
};
|
|
581
|
+
readonly contextWindow: 1048576;
|
|
582
|
+
readonly maxOutput: 65536;
|
|
583
|
+
readonly modalities: {
|
|
584
|
+
readonly input: readonly ["text", "image", "audio", "video", "pdf"];
|
|
585
|
+
readonly output: readonly ["text"];
|
|
586
|
+
};
|
|
587
|
+
readonly capabilities: {
|
|
588
|
+
readonly reasoning: true;
|
|
589
|
+
readonly toolCall: true;
|
|
590
|
+
readonly attachment: true;
|
|
591
|
+
readonly structuredOutput: true;
|
|
592
|
+
};
|
|
593
|
+
}, {
|
|
594
|
+
readonly id: "gemini-2.5-pro";
|
|
595
|
+
readonly name: "Gemini 2.5 Pro";
|
|
596
|
+
readonly provider: "google";
|
|
597
|
+
readonly family: "gemini-pro";
|
|
598
|
+
readonly pricing: {
|
|
599
|
+
readonly input: 0.00000125;
|
|
600
|
+
readonly output: 0.00001;
|
|
601
|
+
readonly cacheRead: 3.1e-7;
|
|
602
|
+
};
|
|
603
|
+
readonly contextWindow: 1048576;
|
|
604
|
+
readonly maxOutput: 65536;
|
|
605
|
+
readonly modalities: {
|
|
606
|
+
readonly input: readonly ["text", "image", "audio", "video", "pdf"];
|
|
607
|
+
readonly output: readonly ["text"];
|
|
608
|
+
};
|
|
609
|
+
readonly capabilities: {
|
|
610
|
+
readonly reasoning: true;
|
|
611
|
+
readonly toolCall: true;
|
|
612
|
+
readonly attachment: true;
|
|
613
|
+
readonly structuredOutput: true;
|
|
614
|
+
};
|
|
615
|
+
}, {
|
|
616
|
+
readonly id: "gemini-2.0-flash";
|
|
617
|
+
readonly name: "Gemini 2.0 Flash";
|
|
618
|
+
readonly provider: "google";
|
|
619
|
+
readonly family: "gemini-flash";
|
|
620
|
+
readonly pricing: {
|
|
621
|
+
readonly input: 1e-7;
|
|
622
|
+
readonly output: 4e-7;
|
|
623
|
+
readonly cacheRead: 2.5e-8;
|
|
624
|
+
};
|
|
625
|
+
readonly contextWindow: 1048576;
|
|
626
|
+
readonly maxOutput: 8192;
|
|
627
|
+
readonly modalities: {
|
|
628
|
+
readonly input: readonly ["text", "image", "audio", "video", "pdf"];
|
|
629
|
+
readonly output: readonly ["text"];
|
|
630
|
+
};
|
|
631
|
+
readonly capabilities: {
|
|
632
|
+
readonly reasoning: false;
|
|
633
|
+
readonly toolCall: true;
|
|
634
|
+
readonly attachment: true;
|
|
635
|
+
readonly structuredOutput: true;
|
|
636
|
+
};
|
|
637
|
+
}, {
|
|
638
|
+
readonly id: "gemini-1.5-pro";
|
|
639
|
+
readonly name: "Gemini 1.5 Pro";
|
|
640
|
+
readonly provider: "google";
|
|
641
|
+
readonly family: "gemini-pro";
|
|
642
|
+
readonly pricing: {
|
|
643
|
+
readonly input: 0.00000125;
|
|
644
|
+
readonly output: 0.000005;
|
|
645
|
+
readonly cacheRead: 3.125e-7;
|
|
646
|
+
};
|
|
647
|
+
readonly contextWindow: 1000000;
|
|
648
|
+
readonly maxOutput: 8192;
|
|
649
|
+
readonly modalities: {
|
|
650
|
+
readonly input: readonly ["text", "image", "audio", "video"];
|
|
651
|
+
readonly output: readonly ["text"];
|
|
652
|
+
};
|
|
653
|
+
readonly capabilities: {
|
|
654
|
+
readonly reasoning: false;
|
|
655
|
+
readonly toolCall: true;
|
|
656
|
+
readonly attachment: true;
|
|
657
|
+
readonly structuredOutput: false;
|
|
658
|
+
};
|
|
659
|
+
}];
|
|
660
|
+
//#endregion
|
|
661
|
+
//#region src/providers/google.d.ts
|
|
662
|
+
/**
|
|
663
|
+
* Known model identifiers for Google.
|
|
664
|
+
*
|
|
665
|
+
* @example
|
|
666
|
+
* ```typescript
|
|
667
|
+
* import type { GoogleModelId } from '@funkai/models/google'
|
|
668
|
+
*
|
|
669
|
+
* const id: GoogleModelId = 'gemini-embedding-001'
|
|
670
|
+
* ```
|
|
671
|
+
*/
|
|
672
|
+
type GoogleModelId = (typeof GOOGLE_MODELS)[number]["id"];
|
|
673
|
+
/**
|
|
674
|
+
* All Google models in the catalog.
|
|
675
|
+
*
|
|
676
|
+
* @example
|
|
677
|
+
* ```typescript
|
|
678
|
+
* import { googleModels } from '@funkai/models/google'
|
|
679
|
+
*
|
|
680
|
+
* for (const m of googleModels) {
|
|
681
|
+
* console.log(m.id, m.pricing.input)
|
|
682
|
+
* }
|
|
683
|
+
* ```
|
|
684
|
+
*/
|
|
685
|
+
declare const googleModels: readonly [{
|
|
686
|
+
readonly id: "gemini-embedding-001";
|
|
687
|
+
readonly name: "Gemini Embedding 001";
|
|
688
|
+
readonly provider: "google";
|
|
689
|
+
readonly family: "gemini";
|
|
690
|
+
readonly pricing: {
|
|
691
|
+
readonly input: 1.5e-7;
|
|
692
|
+
readonly output: 0;
|
|
693
|
+
};
|
|
694
|
+
readonly contextWindow: 2048;
|
|
695
|
+
readonly maxOutput: 3072;
|
|
696
|
+
readonly modalities: {
|
|
697
|
+
readonly input: readonly ["text"];
|
|
698
|
+
readonly output: readonly ["text"];
|
|
699
|
+
};
|
|
700
|
+
readonly capabilities: {
|
|
701
|
+
readonly reasoning: false;
|
|
702
|
+
readonly toolCall: false;
|
|
703
|
+
readonly attachment: false;
|
|
704
|
+
readonly structuredOutput: false;
|
|
705
|
+
};
|
|
706
|
+
}, {
|
|
707
|
+
readonly id: "gemini-2.5-flash-lite-preview-09-2025";
|
|
708
|
+
readonly name: "Gemini 2.5 Flash Lite Preview 09-25";
|
|
709
|
+
readonly provider: "google";
|
|
710
|
+
readonly family: "gemini-flash-lite";
|
|
711
|
+
readonly pricing: {
|
|
712
|
+
readonly input: 1e-7;
|
|
713
|
+
readonly output: 4e-7;
|
|
714
|
+
readonly cacheRead: 2.5e-8;
|
|
715
|
+
};
|
|
716
|
+
readonly contextWindow: 1048576;
|
|
717
|
+
readonly maxOutput: 65536;
|
|
718
|
+
readonly modalities: {
|
|
719
|
+
readonly input: readonly ["text", "image", "audio", "video", "pdf"];
|
|
720
|
+
readonly output: readonly ["text"];
|
|
721
|
+
};
|
|
722
|
+
readonly capabilities: {
|
|
723
|
+
readonly reasoning: true;
|
|
724
|
+
readonly toolCall: true;
|
|
725
|
+
readonly attachment: true;
|
|
726
|
+
readonly structuredOutput: true;
|
|
727
|
+
};
|
|
728
|
+
}, {
|
|
729
|
+
readonly id: "gemini-3.1-pro-preview-customtools";
|
|
730
|
+
readonly name: "Gemini 3.1 Pro Preview Custom Tools";
|
|
731
|
+
readonly provider: "google";
|
|
732
|
+
readonly family: "gemini-pro";
|
|
733
|
+
readonly pricing: {
|
|
734
|
+
readonly input: 0.000002;
|
|
735
|
+
readonly output: 0.000012;
|
|
736
|
+
readonly cacheRead: 2e-7;
|
|
737
|
+
};
|
|
738
|
+
readonly contextWindow: 1048576;
|
|
739
|
+
readonly maxOutput: 65536;
|
|
740
|
+
readonly modalities: {
|
|
741
|
+
readonly input: readonly ["text", "image", "video", "audio", "pdf"];
|
|
742
|
+
readonly output: readonly ["text"];
|
|
743
|
+
};
|
|
744
|
+
readonly capabilities: {
|
|
745
|
+
readonly reasoning: true;
|
|
746
|
+
readonly toolCall: true;
|
|
747
|
+
readonly attachment: true;
|
|
748
|
+
readonly structuredOutput: true;
|
|
749
|
+
};
|
|
750
|
+
}, {
|
|
751
|
+
readonly id: "gemini-2.5-pro-preview-06-05";
|
|
752
|
+
readonly name: "Gemini 2.5 Pro Preview 06-05";
|
|
753
|
+
readonly provider: "google";
|
|
754
|
+
readonly family: "gemini-pro";
|
|
755
|
+
readonly pricing: {
|
|
756
|
+
readonly input: 0.00000125;
|
|
757
|
+
readonly output: 0.00001;
|
|
758
|
+
readonly cacheRead: 3.1e-7;
|
|
759
|
+
};
|
|
760
|
+
readonly contextWindow: 1048576;
|
|
761
|
+
readonly maxOutput: 65536;
|
|
762
|
+
readonly modalities: {
|
|
763
|
+
readonly input: readonly ["text", "image", "audio", "video", "pdf"];
|
|
764
|
+
readonly output: readonly ["text"];
|
|
765
|
+
};
|
|
766
|
+
readonly capabilities: {
|
|
767
|
+
readonly reasoning: true;
|
|
768
|
+
readonly toolCall: true;
|
|
769
|
+
readonly attachment: true;
|
|
770
|
+
readonly structuredOutput: true;
|
|
771
|
+
};
|
|
772
|
+
}, {
|
|
773
|
+
readonly id: "gemini-2.5-flash-preview-04-17";
|
|
774
|
+
readonly name: "Gemini 2.5 Flash Preview 04-17";
|
|
775
|
+
readonly provider: "google";
|
|
776
|
+
readonly family: "gemini-flash";
|
|
777
|
+
readonly pricing: {
|
|
778
|
+
readonly input: 1.5e-7;
|
|
779
|
+
readonly output: 6e-7;
|
|
780
|
+
readonly cacheRead: 3.75e-8;
|
|
781
|
+
};
|
|
782
|
+
readonly contextWindow: 1048576;
|
|
783
|
+
readonly maxOutput: 65536;
|
|
784
|
+
readonly modalities: {
|
|
785
|
+
readonly input: readonly ["text", "image", "audio", "video", "pdf"];
|
|
786
|
+
readonly output: readonly ["text"];
|
|
787
|
+
};
|
|
788
|
+
readonly capabilities: {
|
|
789
|
+
readonly reasoning: true;
|
|
790
|
+
readonly toolCall: true;
|
|
791
|
+
readonly attachment: true;
|
|
792
|
+
readonly structuredOutput: false;
|
|
793
|
+
};
|
|
794
|
+
}, {
|
|
795
|
+
readonly id: "gemini-2.5-flash-preview-09-2025";
|
|
796
|
+
readonly name: "Gemini 2.5 Flash Preview 09-25";
|
|
797
|
+
readonly provider: "google";
|
|
798
|
+
readonly family: "gemini-flash";
|
|
799
|
+
readonly pricing: {
|
|
800
|
+
readonly input: 3e-7;
|
|
801
|
+
readonly output: 0.0000025;
|
|
802
|
+
readonly cacheRead: 7.5e-8;
|
|
803
|
+
};
|
|
804
|
+
readonly contextWindow: 1048576;
|
|
805
|
+
readonly maxOutput: 65536;
|
|
806
|
+
readonly modalities: {
|
|
807
|
+
readonly input: readonly ["text", "image", "audio", "video", "pdf"];
|
|
808
|
+
readonly output: readonly ["text"];
|
|
809
|
+
};
|
|
810
|
+
readonly capabilities: {
|
|
811
|
+
readonly reasoning: true;
|
|
812
|
+
readonly toolCall: true;
|
|
813
|
+
readonly attachment: true;
|
|
814
|
+
readonly structuredOutput: true;
|
|
815
|
+
};
|
|
816
|
+
}, {
|
|
817
|
+
readonly id: "gemini-2.5-pro-preview-05-06";
|
|
818
|
+
readonly name: "Gemini 2.5 Pro Preview 05-06";
|
|
819
|
+
readonly provider: "google";
|
|
820
|
+
readonly family: "gemini-pro";
|
|
821
|
+
readonly pricing: {
|
|
822
|
+
readonly input: 0.00000125;
|
|
823
|
+
readonly output: 0.00001;
|
|
824
|
+
readonly cacheRead: 3.1e-7;
|
|
825
|
+
};
|
|
826
|
+
readonly contextWindow: 1048576;
|
|
827
|
+
readonly maxOutput: 65536;
|
|
828
|
+
readonly modalities: {
|
|
829
|
+
readonly input: readonly ["text", "image", "audio", "video", "pdf"];
|
|
830
|
+
readonly output: readonly ["text"];
|
|
831
|
+
};
|
|
832
|
+
readonly capabilities: {
|
|
833
|
+
readonly reasoning: true;
|
|
834
|
+
readonly toolCall: true;
|
|
835
|
+
readonly attachment: true;
|
|
836
|
+
readonly structuredOutput: true;
|
|
837
|
+
};
|
|
838
|
+
}, {
|
|
839
|
+
readonly id: "gemini-2.5-flash-preview-05-20";
|
|
840
|
+
readonly name: "Gemini 2.5 Flash Preview 05-20";
|
|
841
|
+
readonly provider: "google";
|
|
842
|
+
readonly family: "gemini-flash";
|
|
843
|
+
readonly pricing: {
|
|
844
|
+
readonly input: 1.5e-7;
|
|
845
|
+
readonly output: 6e-7;
|
|
846
|
+
readonly cacheRead: 3.75e-8;
|
|
847
|
+
};
|
|
848
|
+
readonly contextWindow: 1048576;
|
|
849
|
+
readonly maxOutput: 65536;
|
|
850
|
+
readonly modalities: {
|
|
851
|
+
readonly input: readonly ["text", "image", "audio", "video", "pdf"];
|
|
852
|
+
readonly output: readonly ["text"];
|
|
853
|
+
};
|
|
854
|
+
readonly capabilities: {
|
|
855
|
+
readonly reasoning: true;
|
|
856
|
+
readonly toolCall: true;
|
|
857
|
+
readonly attachment: true;
|
|
858
|
+
readonly structuredOutput: true;
|
|
859
|
+
};
|
|
860
|
+
}, {
|
|
861
|
+
readonly id: "gemini-2.5-flash";
|
|
862
|
+
readonly name: "Gemini 2.5 Flash";
|
|
863
|
+
readonly provider: "google";
|
|
864
|
+
readonly family: "gemini-flash";
|
|
865
|
+
readonly pricing: {
|
|
866
|
+
readonly input: 3e-7;
|
|
867
|
+
readonly output: 0.0000025;
|
|
868
|
+
readonly cacheRead: 7.5e-8;
|
|
869
|
+
};
|
|
870
|
+
readonly contextWindow: 1048576;
|
|
871
|
+
readonly maxOutput: 65536;
|
|
872
|
+
readonly modalities: {
|
|
873
|
+
readonly input: readonly ["text", "image", "audio", "video", "pdf"];
|
|
874
|
+
readonly output: readonly ["text"];
|
|
875
|
+
};
|
|
876
|
+
readonly capabilities: {
|
|
877
|
+
readonly reasoning: true;
|
|
878
|
+
readonly toolCall: true;
|
|
879
|
+
readonly attachment: true;
|
|
880
|
+
readonly structuredOutput: true;
|
|
881
|
+
};
|
|
882
|
+
}, {
|
|
883
|
+
readonly id: "gemini-3.1-flash-image-preview";
|
|
884
|
+
readonly name: "Gemini 3.1 Flash Image (Preview)";
|
|
885
|
+
readonly provider: "google";
|
|
886
|
+
readonly family: "gemini-flash";
|
|
887
|
+
readonly pricing: {
|
|
888
|
+
readonly input: 2.5e-7;
|
|
889
|
+
readonly output: 0.00006;
|
|
890
|
+
};
|
|
891
|
+
readonly contextWindow: 131072;
|
|
892
|
+
readonly maxOutput: 32768;
|
|
893
|
+
readonly modalities: {
|
|
894
|
+
readonly input: readonly ["text", "image", "pdf"];
|
|
895
|
+
readonly output: readonly ["text", "image"];
|
|
896
|
+
};
|
|
897
|
+
readonly capabilities: {
|
|
898
|
+
readonly reasoning: true;
|
|
899
|
+
readonly toolCall: false;
|
|
900
|
+
readonly attachment: true;
|
|
901
|
+
readonly structuredOutput: false;
|
|
902
|
+
};
|
|
903
|
+
}, {
|
|
904
|
+
readonly id: "gemini-3.1-flash-lite-preview";
|
|
905
|
+
readonly name: "Gemini 3.1 Flash Lite Preview";
|
|
906
|
+
readonly provider: "google";
|
|
907
|
+
readonly family: "gemini-flash-lite";
|
|
908
|
+
readonly pricing: {
|
|
909
|
+
readonly input: 2.5e-7;
|
|
910
|
+
readonly output: 0.0000015;
|
|
911
|
+
readonly cacheRead: 2.5e-8;
|
|
912
|
+
readonly cacheWrite: 0.000001;
|
|
913
|
+
};
|
|
914
|
+
readonly contextWindow: 1048576;
|
|
915
|
+
readonly maxOutput: 65536;
|
|
916
|
+
readonly modalities: {
|
|
917
|
+
readonly input: readonly ["text", "image", "video", "audio", "pdf"];
|
|
918
|
+
readonly output: readonly ["text"];
|
|
919
|
+
};
|
|
920
|
+
readonly capabilities: {
|
|
921
|
+
readonly reasoning: true;
|
|
922
|
+
readonly toolCall: true;
|
|
923
|
+
readonly attachment: true;
|
|
924
|
+
readonly structuredOutput: true;
|
|
925
|
+
};
|
|
926
|
+
}, {
|
|
927
|
+
readonly id: "gemini-live-2.5-flash";
|
|
928
|
+
readonly name: "Gemini Live 2.5 Flash";
|
|
929
|
+
readonly provider: "google";
|
|
930
|
+
readonly family: "gemini-flash";
|
|
931
|
+
readonly pricing: {
|
|
932
|
+
readonly input: 5e-7;
|
|
933
|
+
readonly output: 0.000002;
|
|
934
|
+
};
|
|
935
|
+
readonly contextWindow: 128000;
|
|
936
|
+
readonly maxOutput: 8000;
|
|
937
|
+
readonly modalities: {
|
|
938
|
+
readonly input: readonly ["text", "image", "audio", "video"];
|
|
939
|
+
readonly output: readonly ["text", "audio"];
|
|
940
|
+
};
|
|
941
|
+
readonly capabilities: {
|
|
942
|
+
readonly reasoning: true;
|
|
943
|
+
readonly toolCall: true;
|
|
944
|
+
readonly attachment: true;
|
|
945
|
+
readonly structuredOutput: false;
|
|
946
|
+
};
|
|
947
|
+
}, {
|
|
948
|
+
readonly id: "gemini-3-flash-preview";
|
|
949
|
+
readonly name: "Gemini 3 Flash Preview";
|
|
950
|
+
readonly provider: "google";
|
|
951
|
+
readonly family: "gemini-flash";
|
|
952
|
+
readonly pricing: {
|
|
953
|
+
readonly input: 5e-7;
|
|
954
|
+
readonly output: 0.000003;
|
|
955
|
+
readonly cacheRead: 5e-8;
|
|
956
|
+
};
|
|
957
|
+
readonly contextWindow: 1048576;
|
|
958
|
+
readonly maxOutput: 65536;
|
|
959
|
+
readonly modalities: {
|
|
960
|
+
readonly input: readonly ["text", "image", "video", "audio", "pdf"];
|
|
961
|
+
readonly output: readonly ["text"];
|
|
962
|
+
};
|
|
963
|
+
readonly capabilities: {
|
|
964
|
+
readonly reasoning: true;
|
|
965
|
+
readonly toolCall: true;
|
|
966
|
+
readonly attachment: true;
|
|
967
|
+
readonly structuredOutput: true;
|
|
968
|
+
};
|
|
969
|
+
}, {
|
|
970
|
+
readonly id: "gemini-live-2.5-flash-preview-native-audio";
|
|
971
|
+
readonly name: "Gemini Live 2.5 Flash Preview Native Audio";
|
|
972
|
+
readonly provider: "google";
|
|
973
|
+
readonly family: "gemini-flash";
|
|
974
|
+
readonly pricing: {
|
|
975
|
+
readonly input: 5e-7;
|
|
976
|
+
readonly output: 0.000002;
|
|
977
|
+
};
|
|
978
|
+
readonly contextWindow: 131072;
|
|
979
|
+
readonly maxOutput: 65536;
|
|
980
|
+
readonly modalities: {
|
|
981
|
+
readonly input: readonly ["text", "audio", "video"];
|
|
982
|
+
readonly output: readonly ["text", "audio"];
|
|
983
|
+
};
|
|
984
|
+
readonly capabilities: {
|
|
985
|
+
readonly reasoning: true;
|
|
986
|
+
readonly toolCall: true;
|
|
987
|
+
readonly attachment: false;
|
|
988
|
+
readonly structuredOutput: false;
|
|
989
|
+
};
|
|
990
|
+
}, {
|
|
991
|
+
readonly id: "gemini-2.5-flash-lite";
|
|
992
|
+
readonly name: "Gemini 2.5 Flash Lite";
|
|
993
|
+
readonly provider: "google";
|
|
994
|
+
readonly family: "gemini-flash-lite";
|
|
995
|
+
readonly pricing: {
|
|
996
|
+
readonly input: 1e-7;
|
|
997
|
+
readonly output: 4e-7;
|
|
998
|
+
readonly cacheRead: 2.5e-8;
|
|
999
|
+
};
|
|
1000
|
+
readonly contextWindow: 1048576;
|
|
1001
|
+
readonly maxOutput: 65536;
|
|
1002
|
+
readonly modalities: {
|
|
1003
|
+
readonly input: readonly ["text", "image", "audio", "video", "pdf"];
|
|
1004
|
+
readonly output: readonly ["text"];
|
|
1005
|
+
};
|
|
1006
|
+
readonly capabilities: {
|
|
1007
|
+
readonly reasoning: true;
|
|
1008
|
+
readonly toolCall: true;
|
|
1009
|
+
readonly attachment: true;
|
|
1010
|
+
readonly structuredOutput: true;
|
|
1011
|
+
};
|
|
1012
|
+
}, {
|
|
1013
|
+
readonly id: "gemini-2.5-flash-preview-tts";
|
|
1014
|
+
readonly name: "Gemini 2.5 Flash Preview TTS";
|
|
1015
|
+
readonly provider: "google";
|
|
1016
|
+
readonly family: "gemini-flash";
|
|
1017
|
+
readonly pricing: {
|
|
1018
|
+
readonly input: 5e-7;
|
|
1019
|
+
readonly output: 0.00001;
|
|
1020
|
+
};
|
|
1021
|
+
readonly contextWindow: 8000;
|
|
1022
|
+
readonly maxOutput: 16000;
|
|
1023
|
+
readonly modalities: {
|
|
1024
|
+
readonly input: readonly ["text"];
|
|
1025
|
+
readonly output: readonly ["audio"];
|
|
1026
|
+
};
|
|
1027
|
+
readonly capabilities: {
|
|
1028
|
+
readonly reasoning: false;
|
|
1029
|
+
readonly toolCall: false;
|
|
1030
|
+
readonly attachment: false;
|
|
1031
|
+
readonly structuredOutput: false;
|
|
1032
|
+
};
|
|
1033
|
+
}, {
|
|
1034
|
+
readonly id: "gemini-3.1-pro-preview";
|
|
1035
|
+
readonly name: "Gemini 3.1 Pro Preview";
|
|
1036
|
+
readonly provider: "google";
|
|
1037
|
+
readonly family: "gemini-pro";
|
|
1038
|
+
readonly pricing: {
|
|
1039
|
+
readonly input: 0.000002;
|
|
1040
|
+
readonly output: 0.000012;
|
|
1041
|
+
readonly cacheRead: 2e-7;
|
|
1042
|
+
};
|
|
1043
|
+
readonly contextWindow: 1048576;
|
|
1044
|
+
readonly maxOutput: 65536;
|
|
1045
|
+
readonly modalities: {
|
|
1046
|
+
readonly input: readonly ["text", "image", "video", "audio", "pdf"];
|
|
1047
|
+
readonly output: readonly ["text"];
|
|
1048
|
+
};
|
|
1049
|
+
readonly capabilities: {
|
|
1050
|
+
readonly reasoning: true;
|
|
1051
|
+
readonly toolCall: true;
|
|
1052
|
+
readonly attachment: true;
|
|
1053
|
+
readonly structuredOutput: true;
|
|
1054
|
+
};
|
|
1055
|
+
}, {
|
|
1056
|
+
readonly id: "gemini-flash-latest";
|
|
1057
|
+
readonly name: "Gemini Flash Latest";
|
|
1058
|
+
readonly provider: "google";
|
|
1059
|
+
readonly family: "gemini-flash";
|
|
1060
|
+
readonly pricing: {
|
|
1061
|
+
readonly input: 3e-7;
|
|
1062
|
+
readonly output: 0.0000025;
|
|
1063
|
+
readonly cacheRead: 7.5e-8;
|
|
1064
|
+
};
|
|
1065
|
+
readonly contextWindow: 1048576;
|
|
1066
|
+
readonly maxOutput: 65536;
|
|
1067
|
+
readonly modalities: {
|
|
1068
|
+
readonly input: readonly ["text", "image", "audio", "video", "pdf"];
|
|
1069
|
+
readonly output: readonly ["text"];
|
|
1070
|
+
};
|
|
1071
|
+
readonly capabilities: {
|
|
1072
|
+
readonly reasoning: true;
|
|
1073
|
+
readonly toolCall: true;
|
|
1074
|
+
readonly attachment: true;
|
|
1075
|
+
readonly structuredOutput: true;
|
|
1076
|
+
};
|
|
1077
|
+
}, {
|
|
1078
|
+
readonly id: "gemini-2.5-flash-lite-preview-06-17";
|
|
1079
|
+
readonly name: "Gemini 2.5 Flash Lite Preview 06-17";
|
|
1080
|
+
readonly provider: "google";
|
|
1081
|
+
readonly family: "gemini-flash-lite";
|
|
1082
|
+
readonly pricing: {
|
|
1083
|
+
readonly input: 1e-7;
|
|
1084
|
+
readonly output: 4e-7;
|
|
1085
|
+
readonly cacheRead: 2.5e-8;
|
|
1086
|
+
};
|
|
1087
|
+
readonly contextWindow: 1048576;
|
|
1088
|
+
readonly maxOutput: 65536;
|
|
1089
|
+
readonly modalities: {
|
|
1090
|
+
readonly input: readonly ["text", "image", "audio", "video", "pdf"];
|
|
1091
|
+
readonly output: readonly ["text"];
|
|
1092
|
+
};
|
|
1093
|
+
readonly capabilities: {
|
|
1094
|
+
readonly reasoning: true;
|
|
1095
|
+
readonly toolCall: true;
|
|
1096
|
+
readonly attachment: true;
|
|
1097
|
+
readonly structuredOutput: false;
|
|
1098
|
+
};
|
|
1099
|
+
}, {
|
|
1100
|
+
readonly id: "gemini-2.5-flash-image";
|
|
1101
|
+
readonly name: "Gemini 2.5 Flash Image";
|
|
1102
|
+
readonly provider: "google";
|
|
1103
|
+
readonly family: "gemini-flash";
|
|
1104
|
+
readonly pricing: {
|
|
1105
|
+
readonly input: 3e-7;
|
|
1106
|
+
readonly output: 0.00003;
|
|
1107
|
+
readonly cacheRead: 7.5e-8;
|
|
1108
|
+
};
|
|
1109
|
+
readonly contextWindow: 32768;
|
|
1110
|
+
readonly maxOutput: 32768;
|
|
1111
|
+
readonly modalities: {
|
|
1112
|
+
readonly input: readonly ["text", "image"];
|
|
1113
|
+
readonly output: readonly ["text", "image"];
|
|
1114
|
+
};
|
|
1115
|
+
readonly capabilities: {
|
|
1116
|
+
readonly reasoning: true;
|
|
1117
|
+
readonly toolCall: false;
|
|
1118
|
+
readonly attachment: true;
|
|
1119
|
+
readonly structuredOutput: false;
|
|
1120
|
+
};
|
|
1121
|
+
}, {
|
|
1122
|
+
readonly id: "gemini-2.5-pro-preview-tts";
|
|
1123
|
+
readonly name: "Gemini 2.5 Pro Preview TTS";
|
|
1124
|
+
readonly provider: "google";
|
|
1125
|
+
readonly family: "gemini-flash";
|
|
1126
|
+
readonly pricing: {
|
|
1127
|
+
readonly input: 0.000001;
|
|
1128
|
+
readonly output: 0.00002;
|
|
1129
|
+
};
|
|
1130
|
+
readonly contextWindow: 8000;
|
|
1131
|
+
readonly maxOutput: 16000;
|
|
1132
|
+
readonly modalities: {
|
|
1133
|
+
readonly input: readonly ["text"];
|
|
1134
|
+
readonly output: readonly ["audio"];
|
|
1135
|
+
};
|
|
1136
|
+
readonly capabilities: {
|
|
1137
|
+
readonly reasoning: false;
|
|
1138
|
+
readonly toolCall: false;
|
|
1139
|
+
readonly attachment: false;
|
|
1140
|
+
readonly structuredOutput: false;
|
|
1141
|
+
};
|
|
1142
|
+
}, {
|
|
1143
|
+
readonly id: "gemini-2.5-flash-image-preview";
|
|
1144
|
+
readonly name: "Gemini 2.5 Flash Image (Preview)";
|
|
1145
|
+
readonly provider: "google";
|
|
1146
|
+
readonly family: "gemini-flash";
|
|
1147
|
+
readonly pricing: {
|
|
1148
|
+
readonly input: 3e-7;
|
|
1149
|
+
readonly output: 0.00003;
|
|
1150
|
+
readonly cacheRead: 7.5e-8;
|
|
1151
|
+
};
|
|
1152
|
+
readonly contextWindow: 32768;
|
|
1153
|
+
readonly maxOutput: 32768;
|
|
1154
|
+
readonly modalities: {
|
|
1155
|
+
readonly input: readonly ["text", "image"];
|
|
1156
|
+
readonly output: readonly ["text", "image"];
|
|
1157
|
+
};
|
|
1158
|
+
readonly capabilities: {
|
|
1159
|
+
readonly reasoning: true;
|
|
1160
|
+
readonly toolCall: false;
|
|
1161
|
+
readonly attachment: true;
|
|
1162
|
+
readonly structuredOutput: false;
|
|
1163
|
+
};
|
|
1164
|
+
}, {
|
|
1165
|
+
readonly id: "gemini-1.5-flash-8b";
|
|
1166
|
+
readonly name: "Gemini 1.5 Flash-8B";
|
|
1167
|
+
readonly provider: "google";
|
|
1168
|
+
readonly family: "gemini-flash";
|
|
1169
|
+
readonly pricing: {
|
|
1170
|
+
readonly input: 3.75e-8;
|
|
1171
|
+
readonly output: 1.5e-7;
|
|
1172
|
+
readonly cacheRead: 1e-8;
|
|
1173
|
+
};
|
|
1174
|
+
readonly contextWindow: 1000000;
|
|
1175
|
+
readonly maxOutput: 8192;
|
|
1176
|
+
readonly modalities: {
|
|
1177
|
+
readonly input: readonly ["text", "image", "audio", "video"];
|
|
1178
|
+
readonly output: readonly ["text"];
|
|
1179
|
+
};
|
|
1180
|
+
readonly capabilities: {
|
|
1181
|
+
readonly reasoning: false;
|
|
1182
|
+
readonly toolCall: true;
|
|
1183
|
+
readonly attachment: true;
|
|
1184
|
+
readonly structuredOutput: false;
|
|
1185
|
+
};
|
|
1186
|
+
}, {
|
|
1187
|
+
readonly id: "gemini-3-pro-preview";
|
|
1188
|
+
readonly name: "Gemini 3 Pro Preview";
|
|
1189
|
+
readonly provider: "google";
|
|
1190
|
+
readonly family: "gemini-pro";
|
|
1191
|
+
readonly pricing: {
|
|
1192
|
+
readonly input: 0.000002;
|
|
1193
|
+
readonly output: 0.000012;
|
|
1194
|
+
readonly cacheRead: 2e-7;
|
|
1195
|
+
};
|
|
1196
|
+
readonly contextWindow: 1000000;
|
|
1197
|
+
readonly maxOutput: 64000;
|
|
1198
|
+
readonly modalities: {
|
|
1199
|
+
readonly input: readonly ["text", "image", "video", "audio", "pdf"];
|
|
1200
|
+
readonly output: readonly ["text"];
|
|
1201
|
+
};
|
|
1202
|
+
readonly capabilities: {
|
|
1203
|
+
readonly reasoning: true;
|
|
1204
|
+
readonly toolCall: true;
|
|
1205
|
+
readonly attachment: true;
|
|
1206
|
+
readonly structuredOutput: true;
|
|
1207
|
+
};
|
|
1208
|
+
}, {
|
|
1209
|
+
readonly id: "gemini-2.0-flash-lite";
|
|
1210
|
+
readonly name: "Gemini 2.0 Flash Lite";
|
|
1211
|
+
readonly provider: "google";
|
|
1212
|
+
readonly family: "gemini-flash-lite";
|
|
1213
|
+
readonly pricing: {
|
|
1214
|
+
readonly input: 7.5e-8;
|
|
1215
|
+
readonly output: 3e-7;
|
|
1216
|
+
};
|
|
1217
|
+
readonly contextWindow: 1048576;
|
|
1218
|
+
readonly maxOutput: 8192;
|
|
1219
|
+
readonly modalities: {
|
|
1220
|
+
readonly input: readonly ["text", "image", "audio", "video", "pdf"];
|
|
1221
|
+
readonly output: readonly ["text"];
|
|
1222
|
+
};
|
|
1223
|
+
readonly capabilities: {
|
|
1224
|
+
readonly reasoning: false;
|
|
1225
|
+
readonly toolCall: true;
|
|
1226
|
+
readonly attachment: true;
|
|
1227
|
+
readonly structuredOutput: true;
|
|
1228
|
+
};
|
|
1229
|
+
}, {
|
|
1230
|
+
readonly id: "gemini-1.5-flash";
|
|
1231
|
+
readonly name: "Gemini 1.5 Flash";
|
|
1232
|
+
readonly provider: "google";
|
|
1233
|
+
readonly family: "gemini-flash";
|
|
1234
|
+
readonly pricing: {
|
|
1235
|
+
readonly input: 7.5e-8;
|
|
1236
|
+
readonly output: 3e-7;
|
|
1237
|
+
readonly cacheRead: 1.875e-8;
|
|
1238
|
+
};
|
|
1239
|
+
readonly contextWindow: 1000000;
|
|
1240
|
+
readonly maxOutput: 8192;
|
|
1241
|
+
readonly modalities: {
|
|
1242
|
+
readonly input: readonly ["text", "image", "audio", "video"];
|
|
1243
|
+
readonly output: readonly ["text"];
|
|
1244
|
+
};
|
|
1245
|
+
readonly capabilities: {
|
|
1246
|
+
readonly reasoning: false;
|
|
1247
|
+
readonly toolCall: true;
|
|
1248
|
+
readonly attachment: true;
|
|
1249
|
+
readonly structuredOutput: false;
|
|
1250
|
+
};
|
|
1251
|
+
}, {
|
|
1252
|
+
readonly id: "gemini-flash-lite-latest";
|
|
1253
|
+
readonly name: "Gemini Flash-Lite Latest";
|
|
1254
|
+
readonly provider: "google";
|
|
1255
|
+
readonly family: "gemini-flash-lite";
|
|
1256
|
+
readonly pricing: {
|
|
1257
|
+
readonly input: 1e-7;
|
|
1258
|
+
readonly output: 4e-7;
|
|
1259
|
+
readonly cacheRead: 2.5e-8;
|
|
1260
|
+
};
|
|
1261
|
+
readonly contextWindow: 1048576;
|
|
1262
|
+
readonly maxOutput: 65536;
|
|
1263
|
+
readonly modalities: {
|
|
1264
|
+
readonly input: readonly ["text", "image", "audio", "video", "pdf"];
|
|
1265
|
+
readonly output: readonly ["text"];
|
|
1266
|
+
};
|
|
1267
|
+
readonly capabilities: {
|
|
1268
|
+
readonly reasoning: true;
|
|
1269
|
+
readonly toolCall: true;
|
|
1270
|
+
readonly attachment: true;
|
|
1271
|
+
readonly structuredOutput: true;
|
|
1272
|
+
};
|
|
1273
|
+
}, {
|
|
1274
|
+
readonly id: "gemini-2.5-pro";
|
|
1275
|
+
readonly name: "Gemini 2.5 Pro";
|
|
1276
|
+
readonly provider: "google";
|
|
1277
|
+
readonly family: "gemini-pro";
|
|
1278
|
+
readonly pricing: {
|
|
1279
|
+
readonly input: 0.00000125;
|
|
1280
|
+
readonly output: 0.00001;
|
|
1281
|
+
readonly cacheRead: 3.1e-7;
|
|
1282
|
+
};
|
|
1283
|
+
readonly contextWindow: 1048576;
|
|
1284
|
+
readonly maxOutput: 65536;
|
|
1285
|
+
readonly modalities: {
|
|
1286
|
+
readonly input: readonly ["text", "image", "audio", "video", "pdf"];
|
|
1287
|
+
readonly output: readonly ["text"];
|
|
1288
|
+
};
|
|
1289
|
+
readonly capabilities: {
|
|
1290
|
+
readonly reasoning: true;
|
|
1291
|
+
readonly toolCall: true;
|
|
1292
|
+
readonly attachment: true;
|
|
1293
|
+
readonly structuredOutput: true;
|
|
1294
|
+
};
|
|
1295
|
+
}, {
|
|
1296
|
+
readonly id: "gemini-2.0-flash";
|
|
1297
|
+
readonly name: "Gemini 2.0 Flash";
|
|
1298
|
+
readonly provider: "google";
|
|
1299
|
+
readonly family: "gemini-flash";
|
|
1300
|
+
readonly pricing: {
|
|
1301
|
+
readonly input: 1e-7;
|
|
1302
|
+
readonly output: 4e-7;
|
|
1303
|
+
readonly cacheRead: 2.5e-8;
|
|
1304
|
+
};
|
|
1305
|
+
readonly contextWindow: 1048576;
|
|
1306
|
+
readonly maxOutput: 8192;
|
|
1307
|
+
readonly modalities: {
|
|
1308
|
+
readonly input: readonly ["text", "image", "audio", "video", "pdf"];
|
|
1309
|
+
readonly output: readonly ["text"];
|
|
1310
|
+
};
|
|
1311
|
+
readonly capabilities: {
|
|
1312
|
+
readonly reasoning: false;
|
|
1313
|
+
readonly toolCall: true;
|
|
1314
|
+
readonly attachment: true;
|
|
1315
|
+
readonly structuredOutput: true;
|
|
1316
|
+
};
|
|
1317
|
+
}, {
|
|
1318
|
+
readonly id: "gemini-1.5-pro";
|
|
1319
|
+
readonly name: "Gemini 1.5 Pro";
|
|
1320
|
+
readonly provider: "google";
|
|
1321
|
+
readonly family: "gemini-pro";
|
|
1322
|
+
readonly pricing: {
|
|
1323
|
+
readonly input: 0.00000125;
|
|
1324
|
+
readonly output: 0.000005;
|
|
1325
|
+
readonly cacheRead: 3.125e-7;
|
|
1326
|
+
};
|
|
1327
|
+
readonly contextWindow: 1000000;
|
|
1328
|
+
readonly maxOutput: 8192;
|
|
1329
|
+
readonly modalities: {
|
|
1330
|
+
readonly input: readonly ["text", "image", "audio", "video"];
|
|
1331
|
+
readonly output: readonly ["text"];
|
|
1332
|
+
};
|
|
1333
|
+
readonly capabilities: {
|
|
1334
|
+
readonly reasoning: false;
|
|
1335
|
+
readonly toolCall: true;
|
|
1336
|
+
readonly attachment: true;
|
|
1337
|
+
readonly structuredOutput: false;
|
|
1338
|
+
};
|
|
1339
|
+
}];
|
|
1340
|
+
/**
|
|
1341
|
+
* Look up a Google model by ID.
|
|
1342
|
+
*
|
|
1343
|
+
* @param id - The provider-native model identifier.
|
|
1344
|
+
* @returns The matching model definition, or `null`.
|
|
1345
|
+
*
|
|
1346
|
+
* @example
|
|
1347
|
+
* ```typescript
|
|
1348
|
+
* import { googleModel } from '@funkai/models/google'
|
|
1349
|
+
*
|
|
1350
|
+
* const m = googleModel('gemini-embedding-001')
|
|
1351
|
+
* if (m) {
|
|
1352
|
+
* console.log(m.pricing.input)
|
|
1353
|
+
* }
|
|
1354
|
+
* ```
|
|
1355
|
+
*/
|
|
1356
|
+
declare function googleModel(id: LiteralUnion<GoogleModelId, string>): ModelDefinition | null;
|
|
1357
|
+
//#endregion
|
|
1358
|
+
export { GoogleModelId, googleModel, googleModels };
|
|
1359
|
+
//# sourceMappingURL=google.d.mts.map
|