Skip to content

Conversation

@maxffarrell
Copy link

No description provided.

@paoloricciuti
Copy link
Member

@maxffarrell we ditched the anthropic api key and such because we are using vercel gateway for everything, so does this still makes sense?

@maxffarrell maxffarrell marked this pull request as draft December 11, 2025 14:05
@maxffarrell
Copy link
Author

@paoloricciuti Sorry should have marked as draft, from my understanding ai-sdk is a wrapper for multiple providers, Gateway being one of them. I looked at Gateway, it doesn't seem to have all models (for ex Devstral 2), I think it makes sense to support multiple providers via ai-sdk

This is the example from https://ai-sdk.dev/providers/ai-sdk-providers/xai:

import { createXai } from '@ai-sdk/xai';

const xai = createXai({
  apiKey: 'your-api-key',
});

@paoloricciuti
Copy link
Member

Yeah, the ai-sdk is a wrapper for multiple providers but as of yesterday, we only use gateway because we have some credits in the svelte org that we can use to run the benchmark.

Also, gateway has many models anyway, including Devstral 2. I think for the moment it's better to just use one provider so that we can have one centralized way to manage cost.

@khromov
Copy link
Collaborator

khromov commented Dec 12, 2025

(I've rebased the PR on main.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants