Skip to content

Commit bf54c88

Browse files
authored
feat(models): added xai models and updated gemini pricing (#2161)
1 parent 41c068c commit bf54c88

File tree

1 file changed

+62
-10
lines changed

1 file changed

+62
-10
lines changed

apps/sim/providers/models.ts

Lines changed: 62 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -684,10 +684,10 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
684684
{
685685
id: 'gemini-2.5-pro',
686686
pricing: {
687-
input: 0.15,
688-
cachedInput: 0.075,
689-
output: 0.6,
690-
updatedAt: '2025-06-17',
687+
input: 1.25,
688+
cachedInput: 0.125,
689+
output: 10.0,
690+
updatedAt: '2025-12-02',
691691
},
692692
capabilities: {
693693
temperature: { min: 0, max: 2 },
@@ -697,10 +697,23 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
697697
{
698698
id: 'gemini-2.5-flash',
699699
pricing: {
700-
input: 0.15,
701-
cachedInput: 0.075,
702-
output: 0.6,
703-
updatedAt: '2025-06-17',
700+
input: 0.3,
701+
cachedInput: 0.03,
702+
output: 2.5,
703+
updatedAt: '2025-12-02',
704+
},
705+
capabilities: {
706+
temperature: { min: 0, max: 2 },
707+
},
708+
contextWindow: 1048576,
709+
},
710+
{
711+
id: 'gemini-2.5-flash-lite',
712+
pricing: {
713+
input: 0.1,
714+
cachedInput: 0.01,
715+
output: 0.4,
716+
updatedAt: '2025-12-02',
704717
},
705718
capabilities: {
706719
temperature: { min: 0, max: 2 },
@@ -772,15 +785,54 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
772785
id: 'grok-4-latest',
773786
pricing: {
774787
input: 3.0,
775-
cachedInput: 1.5,
788+
cachedInput: 0.75,
776789
output: 15.0,
777-
updatedAt: '2025-10-11',
790+
updatedAt: '2025-12-02',
778791
},
779792
capabilities: {
780793
temperature: { min: 0, max: 1 },
781794
},
782795
contextWindow: 256000,
783796
},
797+
{
798+
id: 'grok-4-0709',
799+
pricing: {
800+
input: 3.0,
801+
cachedInput: 0.75,
802+
output: 15.0,
803+
updatedAt: '2025-12-02',
804+
},
805+
capabilities: {
806+
temperature: { min: 0, max: 1 },
807+
},
808+
contextWindow: 256000,
809+
},
810+
{
811+
id: 'grok-4-1-fast-reasoning',
812+
pricing: {
813+
input: 0.2,
814+
cachedInput: 0.05,
815+
output: 0.5,
816+
updatedAt: '2025-12-02',
817+
},
818+
capabilities: {
819+
temperature: { min: 0, max: 1 },
820+
},
821+
contextWindow: 2000000,
822+
},
823+
{
824+
id: 'grok-4-1-fast-non-reasoning',
825+
pricing: {
826+
input: 0.2,
827+
cachedInput: 0.05,
828+
output: 0.5,
829+
updatedAt: '2025-12-02',
830+
},
831+
capabilities: {
832+
temperature: { min: 0, max: 1 },
833+
},
834+
contextWindow: 2000000,
835+
},
784836
{
785837
id: 'grok-4-fast-reasoning',
786838
pricing: {

0 commit comments

Comments
 (0)