Skip to content

examples: add Hubris LLM example (OpenAI-compatible gateway) - #1525

Open
Aimagine-life wants to merge 2 commits into
tmc:mainfrom
Aimagine-life:examples/hubris-llm-example
Open

Aimagine-life wants to merge 2 commits into
tmc:mainfrom
Aimagine-life:examples/hubris-llm-example

Conversation

@Aimagine-life

@Aimagine-life Aimagine-life commented Sep 6, 2026 •

Copy link
Copy Markdown

Adds examples/hubris-llm-example, mirroring examples/openrouter-llm-example: the llms/openai package with openai.WithBaseURL("https://api.hubris.pro/v1") and HUBRIS_API_KEY.

Hubris is an OpenAI-compatible LLM gateway billed in Russian rubles — one API key for 500+ models from OpenAI, Anthropic, Google, DeepSeek, Qwen and others; model ids use the vendor/model form (anthropic/claude-haiku-4.5 is the example default). Same flags as the OpenRouter example (-model, -prompt, -temp, -stream); go.mod/go.sum copied from that example since the imports are identical.

🤖 Generated with Claude Code

@Aimagine-life
Aimagine-life force-pushed the examples/hubris-llm-example branch from ea1f990 to 953b9d8 Compare September 6, 2026 00:14
@Aimagine-life

Copy link
Copy Markdown
Author

Hi! A gentle nudge on this one: it has been open for about three weeks, still merges cleanly and CI is green. If anything should be done differently, I'm happy to adjust. Thanks for your time!

Switch Hubris URLs from hubris.pw and api.hubris.pw to hubris.pro and api.hubris.pro.

This branch has not been deployed

No deployments
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.

1 participant