Skip to content

Can't I connect directly to AWS Bedrock and not openrouter? #36

Answered by alvinunreal
onesider asked this question in Q&A
Discussion options

You must be logged in to vote

Hey,
Gemini is possible to use via following config:

openrouter:
  model: gemini-2.5-pro-preview-06-05
  api_key: XXXX
  base_url: https://generativelanguage.googleapis.com/v1beta/openai/

Bedrock doesn't have openai compatible endpoint out of the box.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@onesider
Comment options

Answer selected by onesider
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants