You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're n1n API, and we offer a robust API that provides access to 400+ large language models (LLMs), as well as multimodal generation capabilities (text, images, video, audio, etc.). Our platform makes it easy to integrate these advanced features into your project, empowering developers with powerful AI tools.
With n1n API, you can quickly leverage a comprehensive suite of AI models for diverse applications—everything from text generation to media synthesis—through simple, easy-to-use endpoints.
Adding n1n API would benefit OpenCode users by:
Providing access to 400+ models through a single API key configuration
Supporting all major models (OpenAI, Anthropic, Gemini, Llama, and many more)
Offering competitive pricing with unified billing (some are lowest to 1/10 of the official price)
Enabling easy model switching for different assistants without managing multiple API keys
Describe the solution you'd like
Integrate n1n API as an additional AI model provider in OpenCode. n1n API is OpenAI-compatible (base URL: https://n1n.ai/v1/) and offers extended multimodal generation capabilities beyond standard text completion, including image, video, and audio generation endpoints.
We are excited to contribute to the OpenCode ecosystem and provide users with access to the latest AI models through our robust API platform. We look forward to collaborating with the OpenCode maintainers and community to make this integration successful.
Activity
github-actions commentedon Oct 14, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
n1n-api commentedon Oct 14, 2025
we are different platforms with advanced price for our customers, please help add, thx!
rekram1-node commentedon Oct 14, 2025
Sorry the bot sometimes confuses people
rekram1-node commentedon Oct 14, 2025
Hey so I think this would be good I can give you direction, sounds like you are open to contributing the addition?
To add it to opencode you'll need to:
Submit a PR to https://models.dev/ for your provider
Once that's merged you can add it in opencode, test it, and submit a PR to this doc: https://opencode.ai/docs/providers/#directory