Why does GraphQL Product Api only return first 20 variants?

I am using GraphQL Product Api to get the product data along with it’s variants data but Query Only return first 20 return . I want to get all 100 variants (in shopify by default , max. limit for variant is 100) at once .

When I change number to 100 at below code … variants(first:100){ }…to shows cost error

Below is the my query parameter :-

$getProductData = ‘{
products(first: 10, ‘.$get_products_after.’ ‘.$get_search_products.’, reverse:true) {
pageInfo {
hasNextPage
hasPreviousPage
}
edges {
cursor
node {
title
id
handle
featuredImage {
originalSrc
}
totalVariants
variants(first:20){
edges{
node{
id
title
price
image{
originalSrc
}
}
}
}
}
}
}
}’;