Yorkshire Buzz
Advertisement
  • Home
  • News
    • All
    • Business
    • Politics
    • Science
    • World
    West Yorkshire expat and WW2 veteran, 105, calls for ‘more peace’

    West Yorkshire expat and WW2 veteran, 105, calls for ‘more peace’

    Poundland hopeful for last-minute rescue deal to stave off collapse

    Poundland hopeful for last-minute rescue deal to stave off collapse

    Bradford Bulls: James Bell joins on two-year contract after Hull FC exit

    Bradford Bulls: James Bell joins on two-year contract after Hull FC exit

    Faisal Islam: What the boss of US tech giant Nvidia told me about China and national security

    Faisal Islam: What the boss of US tech giant Nvidia told me about China and national security

    Doncaster remembers seven men who received the Victoria Cross

    Doncaster remembers seven men who received the Victoria Cross

    How much will council tax go up by in Calderdale next year?

    How much will council tax go up by in Calderdale next year?

    Trending Tags

    • Trump Inauguration
    • White House
  • Tech
    • All
    • Apps
    • Gadget
    • Mobile
    • Startup
    Best Early Amazon Black Friday Deals (2026)

    Best Early Amazon Black Friday Deals (2026)

    Google shares what’s new in Android 17 QPR2 stable

    Google shares what’s new in Android 17 QPR2 stable

    Learn what Google’s fixing with today’s big November Pixel update

    Learn what Google’s fixing with today’s big November Pixel update

    Galaxy Wearable app reveals exclusive HMG Edition watch faces for Galaxy Watch 9 and Ultra 2

    Galaxy Wearable app reveals exclusive HMG Edition watch faces for Galaxy Watch 9 and Ultra 2

    Google Messages prepares for quick photo and video editing integration

    Google Messages prepares for quick photo and video editing integration

    One UI 9.5 could give Samsung Internet a dedicated desktop mode for DeX users

    One UI 9.5 could give Samsung Internet a dedicated desktop mode for DeX users

    Trending Tags

    • Nintendo Switch
    • Mark Zuckerberg
  • Entertainment
    • All
    • Gaming
    • Movie
    • Music
    • Sports
    Canelo offered world title fight at light-heavyweight: “I’ll give him a boxing lesson”

    Canelo offered world title fight at light-heavyweight: “I’ll give him a boxing lesson”

    Kendall Jenner Wore Flares and Boots With Jacob Elordi in NY

    Kendall Jenner Wore Flares and Boots With Jacob Elordi in NY

    Josh Downs: Patrick Mahomes gets new weapon as Kansas City Chiefs trade for wide receiver | NFL News

    Josh Downs: Patrick Mahomes gets new weapon as Kansas City Chiefs trade for wide receiver | NFL News

    King Gizzard Crafts Its Second Techno Album Of 2026

    King Gizzard Crafts Its Second Techno Album Of 2026

    6 Elegant Colour Combinations to Know for Winter 2026

    6 Elegant Colour Combinations to Know for Winter 2026

    Gene Simmons Announces First 2027 Tour Dates

    Gene Simmons Announces First 2027 Tour Dates

  • Lifestyle
    • All
    • Fashion
    • Food
    • Health
    • Travel
    6 2026 Winter Hair Color Trends Cool People Have Cosigned

    6 2026 Winter Hair Color Trends Cool People Have Cosigned

    The Alchemy of Connection | Enchanting Travels

    The Alchemy of Connection | Enchanting Travels

    J. Law Knows This Shoe-and-Jeans Combo Will Elevate Any Look

    J. Law Knows This Shoe-and-Jeans Combo Will Elevate Any Look

    Chocolate Hazelnut Berry Puff Pastry Tart (Easy 2-Step Recipe)

    Chocolate Hazelnut Berry Puff Pastry Tart (Easy 2-Step Recipe)

    TECNO Launches CAMON SLIM at THE SLIM SOIREE in Nigeria

    TECNO Launches CAMON SLIM at THE SLIM SOIREE in Nigeria

    Where to Eat in Manila’s Chinatown

    Where to Eat in Manila’s Chinatown

    Trending Tags

    • Golden Globes
    • Game of Thrones
    • eSports
  • Review
    Garmin Enduro 4 Review

    Garmin Enduro 4 Review

    Oukitel WP63 rugged phone review

    Oukitel WP63 rugged phone review

    The fastest handheld we’ve tested

    The fastest handheld we’ve tested

    Elegoo M1 Ultra 3D Scanner review

    Elegoo M1 Ultra 3D Scanner review

    Asus Googlebook 14 Review – Trusted Reviews

    Asus Googlebook 14 Review – Trusted Reviews

    Movavi Video Editor 27 review

    Movavi Video Editor 27 review

No Result
View All Result
  • Home
  • News
    • All
    • Business
    • Politics
    • Science
    • World
    West Yorkshire expat and WW2 veteran, 105, calls for ‘more peace’

    West Yorkshire expat and WW2 veteran, 105, calls for ‘more peace’

    Poundland hopeful for last-minute rescue deal to stave off collapse

    Poundland hopeful for last-minute rescue deal to stave off collapse

    Bradford Bulls: James Bell joins on two-year contract after Hull FC exit

    Bradford Bulls: James Bell joins on two-year contract after Hull FC exit

    Faisal Islam: What the boss of US tech giant Nvidia told me about China and national security

    Faisal Islam: What the boss of US tech giant Nvidia told me about China and national security

    Doncaster remembers seven men who received the Victoria Cross

    Doncaster remembers seven men who received the Victoria Cross

    How much will council tax go up by in Calderdale next year?

    How much will council tax go up by in Calderdale next year?

    Trending Tags

    • Trump Inauguration
    • White House
  • Tech
    • All
    • Apps
    • Gadget
    • Mobile
    • Startup
    Best Early Amazon Black Friday Deals (2026)

    Best Early Amazon Black Friday Deals (2026)

    Google shares what’s new in Android 17 QPR2 stable

    Google shares what’s new in Android 17 QPR2 stable

    Learn what Google’s fixing with today’s big November Pixel update

    Learn what Google’s fixing with today’s big November Pixel update

    Galaxy Wearable app reveals exclusive HMG Edition watch faces for Galaxy Watch 9 and Ultra 2

    Galaxy Wearable app reveals exclusive HMG Edition watch faces for Galaxy Watch 9 and Ultra 2

    Google Messages prepares for quick photo and video editing integration

    Google Messages prepares for quick photo and video editing integration

    One UI 9.5 could give Samsung Internet a dedicated desktop mode for DeX users

    One UI 9.5 could give Samsung Internet a dedicated desktop mode for DeX users

    Trending Tags

    • Nintendo Switch
    • Mark Zuckerberg
  • Entertainment
    • All
    • Gaming
    • Movie
    • Music
    • Sports
    Canelo offered world title fight at light-heavyweight: “I’ll give him a boxing lesson”

    Canelo offered world title fight at light-heavyweight: “I’ll give him a boxing lesson”

    Kendall Jenner Wore Flares and Boots With Jacob Elordi in NY

    Kendall Jenner Wore Flares and Boots With Jacob Elordi in NY

    Josh Downs: Patrick Mahomes gets new weapon as Kansas City Chiefs trade for wide receiver | NFL News

    Josh Downs: Patrick Mahomes gets new weapon as Kansas City Chiefs trade for wide receiver | NFL News

    King Gizzard Crafts Its Second Techno Album Of 2026

    King Gizzard Crafts Its Second Techno Album Of 2026

    6 Elegant Colour Combinations to Know for Winter 2026

    6 Elegant Colour Combinations to Know for Winter 2026

    Gene Simmons Announces First 2027 Tour Dates

    Gene Simmons Announces First 2027 Tour Dates

  • Lifestyle
    • All
    • Fashion
    • Food
    • Health
    • Travel
    6 2026 Winter Hair Color Trends Cool People Have Cosigned

    6 2026 Winter Hair Color Trends Cool People Have Cosigned

    The Alchemy of Connection | Enchanting Travels

    The Alchemy of Connection | Enchanting Travels

    J. Law Knows This Shoe-and-Jeans Combo Will Elevate Any Look

    J. Law Knows This Shoe-and-Jeans Combo Will Elevate Any Look

    Chocolate Hazelnut Berry Puff Pastry Tart (Easy 2-Step Recipe)

    Chocolate Hazelnut Berry Puff Pastry Tart (Easy 2-Step Recipe)

    TECNO Launches CAMON SLIM at THE SLIM SOIREE in Nigeria

    TECNO Launches CAMON SLIM at THE SLIM SOIREE in Nigeria

    Where to Eat in Manila’s Chinatown

    Where to Eat in Manila’s Chinatown

    Trending Tags

    • Golden Globes
    • Game of Thrones
    • eSports
  • Review
    Garmin Enduro 4 Review

    Garmin Enduro 4 Review

    Oukitel WP63 rugged phone review

    Oukitel WP63 rugged phone review

    The fastest handheld we’ve tested

    The fastest handheld we’ve tested

    Elegoo M1 Ultra 3D Scanner review

    Elegoo M1 Ultra 3D Scanner review

    Asus Googlebook 14 Review – Trusted Reviews

    Asus Googlebook 14 Review – Trusted Reviews

    Movavi Video Editor 27 review

    Movavi Video Editor 27 review

No Result
View All Result
Yorkshire Buzz
No Result
View All Result
Home Tech Mobile

How to choose the right one

by Yorkshire Buzz
14 March 2024
in Mobile
0
How to choose the right one
0
SHARES
7
VIEWS
Share on FacebookShare on Twitter


Accessing large language models (LLMs) is commonly done through chat interfaces such as ChatGPT or Copilot (formerly Bing Chat). Even web browsers like Brave have integrated LLMs into their systems, like Leo, which can be accessed on Android devices. This method involves manually typing in a query and waiting for the system to process it.

However, another significant way to access LLMs is through a programming API. Depending on your preference, you can communicate with the model programmatically using languages like Python or C and receive a response. You can even access ChatGPT via Python using this method. However, it’s important to note that many of these APIs are not free and require payment based on usage.

In this article, I delve into the cost structure of these APIs, focusing on the concept of tokens, the difference between input and output tokens, and the most cost-effective LLMs to use via an API.

Using LLMs through APIs

Why would you want to access LLMs via an API instead of a web chat interface or a mobile app? There are numerous reasons. For instance, if you have an existing system and want to integrate LLM capabilities, an API allows you to do so. You can apply LLM technology to your existing databases or information systems by calling out from Python or C to the LLM and receiving a response. This is also beneficial for automation, which I personally use for tasks such as text analysis, summarization, translation, or content generation.

How AI APIs are priced

Calvin Wankhede / Android Authority

APIs are priced per token. A token is not a word but a part of a word. This is because LLMs learn from the text they are given and can identify root words and their variations. For English users, a token is about four characters or three-quarters of a word. To give you an idea, 100 tokens equate to about 75 words, one or two sentences are about 30 tokens, a paragraph is about 100 tokens, and 1500 words are about 2048 tokens.

API usage is quoted per million tokens, with two types of tokens: input tokens and output tokens. Input tokens are the prompts and any data you provide, while output tokens are responsible for the content generated by the LLM.

Input token pricing is crucial if your use case is input-heavy, such as summarizing large amounts of text or analyzing data. The number of output tokens will be large if your use case is output-heavy, such as content creation, bulk generation, summarization, or language translation.

The best affordable AI APIs

The pricing varies significantly among different LLMs. For instance, Claude 3 Haiku is the cheapest API, costing $0.25 for a million input tokens. On the other hand, ChatGPT 4 costs $30 for a million input tokens, while ChatGPT 4 Turbo charges $10 for a million input tokens.

The output token pricing also varies, but one thing remains the same — Claude 3 Haiku is still the cheapest, costing $1.25 for a million tokens. Claude 3 OPA is the priciest, demanding $75 for a million tokens.

View the table below for a complete look at the cheapest AI APIs.

Model Input Price per Million Tokens ($) Output Price per Million Tokens ($)
Model

Claude 3 Haiku

Input Price per Million Tokens ($)

0.25

Output Price per Million Tokens ($)

1.25

Model

ChatGPT 3.5

Input Price per Million Tokens ($)

0.5

Output Price per Million Tokens ($)

1.5

Model

Mistral Small

Input Price per Million Tokens ($)

2

Output Price per Million Tokens ($)

6

Model

Mistral Medium

Input Price per Million Tokens ($)

2.7

Output Price per Million Tokens ($)

8.1

Model

Claude 3 Sonnet

Input Price per Million Tokens ($)

3

Output Price per Million Tokens ($)

15

Model

Mistral Large

Input Price per Million Tokens ($)

8

Output Price per Million Tokens ($)

24

Model

ChatGPT 4 Turbo

Input Price per Million Tokens ($)

10

Output Price per Million Tokens ($)

10

Model

Claude 3 Opus

Input Price per Million Tokens ($)

15

Output Price per Million Tokens ($)

75

Model

ChatGPT 4

Input Price per Million Tokens ($)

30

Output Price per Million Tokens ($)

60

In conclusion, the choice of LLM depends not only on the pricing, but also on the functionality. You need to ensure that the LLM you choose can effectively perform your required tasks. For even more detailed info on the subject, check out the video above.



Source link

Tags: Choose
Previous Post

Social Security Recipients: Reasons to File Your Taxes in 2024

Next Post

Martin Lewis warning to everyone with a mobile phone

Yorkshire Buzz

Next Post
Martin Lewis warning to everyone with a mobile phone

Martin Lewis warning to everyone with a mobile phone

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

  • Trending
  • Comments
  • Latest
George McEachran: Chesterfield sign ex-Grimsby midfielder

George McEachran: Chesterfield sign ex-Grimsby midfielder

24 June 2026
Ticket prices set to rise by 15p as Heathrow able to recover runway project money

Ticket prices set to rise by 15p as Heathrow able to recover runway project money

29 July 2026
Best Minecraft seeds 2026 – updated for 26.1

Best Minecraft seeds 2026 – updated for 26.1

24 May 2026
All Of Beth Dutton’s Scars, Explained

All Of Beth Dutton’s Scars, Explained

23 May 2026
Doctor Who’s Christmas Special Features The Coolest Teletubbies Connection Yet, And I’m Still Shocked

Doctor Who’s Christmas Special Features The Coolest Teletubbies Connection Yet, And I’m Still Shocked

0
Samsung’s Galaxy S23 Base, Plus, and Ultra: A Spec-By-Spec Comparison of Each Phone

Samsung’s Galaxy S23 Base, Plus, and Ultra: A Spec-By-Spec Comparison of Each Phone

0
Night Court’s Marsha Warfield (And Roz) Are Back and Speak About the Reboot

Night Court’s Marsha Warfield (And Roz) Are Back and Speak About the Reboot

0
Food shortages and strikes by health workers: York in 1974

Food shortages and strikes by health workers: York in 1974

0
6 2026 Winter Hair Color Trends Cool People Have Cosigned

6 2026 Winter Hair Color Trends Cool People Have Cosigned

11 November 2026
Canelo offered world title fight at light-heavyweight: “I’ll give him a boxing lesson”

Canelo offered world title fight at light-heavyweight: “I’ll give him a boxing lesson”

11 November 2026
West Yorkshire expat and WW2 veteran, 105, calls for ‘more peace’

West Yorkshire expat and WW2 veteran, 105, calls for ‘more peace’

11 November 2026
The Alchemy of Connection | Enchanting Travels

The Alchemy of Connection | Enchanting Travels

11 November 2026

Recent News

6 2026 Winter Hair Color Trends Cool People Have Cosigned

6 2026 Winter Hair Color Trends Cool People Have Cosigned

11 November 2026
Canelo offered world title fight at light-heavyweight: “I’ll give him a boxing lesson”

Canelo offered world title fight at light-heavyweight: “I’ll give him a boxing lesson”

11 November 2026
West Yorkshire expat and WW2 veteran, 105, calls for ‘more peace’

West Yorkshire expat and WW2 veteran, 105, calls for ‘more peace’

11 November 2026
The Alchemy of Connection | Enchanting Travels

The Alchemy of Connection | Enchanting Travels

11 November 2026
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
Cookie SettingsAccept All
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT
No Result
View All Result

© 2021 Yorkshire Buzz