Skip to content

Add GPT-4.1 support #395

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
tarekgh opened this issue Apr 14, 2025 · 7 comments
Open

Add GPT-4.1 support #395

tarekgh opened this issue Apr 14, 2025 · 7 comments

Comments

@tarekgh
Copy link

tarekgh commented Apr 14, 2025

https://openai.com/index/gpt-4-1/

@tahitimoon
Copy link

Also GPT-4.1-mini

@MwSpaceLLC
Copy link

We wait this, at our SaaS for dev updates.

Image

@phuturesh
Copy link

phuturesh commented Apr 15, 2025

According to the how-to-run example in MRCR benchmark, they use o200k_base to count tokens for gpt-4.1. May be a temporary solution.

@kaimatzu
Copy link

I may be wrong, but I think the tokenization is the same as 4o.

@tarekgh
Copy link
Author

tarekgh commented Apr 28, 2025

@kaimatzu 4, 4o, o1, and o3 all are using the encoding o200k_base. So according to @phuturesh reply, looks 4.1 using the same encoding.

"o1": "o200k_base",
"o3": "o200k_base",
# chat
"gpt-4o": "o200k_base",
"gpt-4": "cl100k_base",

@deepdive101
Copy link

@tarekgh Your link does not list gpt-4.1.

@tarekgh
Copy link
Author

tarekgh commented Apr 28, 2025

Your link does not list gpt-4.1.

That is right. This is why we have this tracking issue open till the 4.1 mapping gets added.

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

No branches or pull requests

6 participants